Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed append, hash key in request_uris #47

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changed prepend to don't run if function don't exists and if in cli
rspadim committed May 23, 2013
commit f5c358e0a2a5a27135802a560eb828d326f9d757
8 changes: 2 additions & 6 deletions inc/prepend.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<?php
// currently not supported
if(php_sapi_name() == 'cli')
{
return;
}

xhprof_enable(XHPROF_FLAGS_MEMORY | XHPROF_FLAGS_CPU);
if (php_sapi_name() !== 'cli' && function_exists('xhprof_enable'))
xhprof_enable(XHPROF_FLAGS_MEMORY | XHPROF_FLAGS_CPU);