mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
Fix XHProf under HPHP/HPHPi.
This commit is contained in:
parent
c2f10f19b1
commit
1907f782b6
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@ final class DarkConsoleXHProfPluginAPI {
|
|||
|
||||
public static function startProfiler() {
|
||||
self::includeXHProfLib();
|
||||
xhprof_enable();
|
||||
// Note: HPHP's implementation of XHProf currently requires an argument
|
||||
// to xhprof_enable() -- see Facebook Task #531011.
|
||||
xhprof_enable(0);
|
||||
}
|
||||
|
||||
public static function stopProfiler() {
|
||||
|
|
Loading…
Reference in a new issue