8eaa77f319
I've always been a bit sad about having all classes in the same file to govern inclusion order. And the filenames didn't match the class names. Instead, lets not rely on whatever order `find` returns, and instead hard-code the ordering of the system lib. I grouped the files by what extension they came from.
14 linhas
246 B
PHP
14 linhas
246 B
PHP
<?php
|
|
|
|
/**
|
|
* Helps application inserting an artificial frame in xhprof's reporting.
|
|
*/
|
|
class XhprofFrame {
|
|
public function __construct($name) {
|
|
xhprof_frame_begin($name);
|
|
}
|
|
public function __destruct() {
|
|
xhprof_frame_end();
|
|
}
|
|
}
|