You are here

function xhprof_extension_check in XHProf 7

Check if xhprof or tideways extension available

Return value

bool

2 calls to xhprof_extension_check()
xhprof_admin_settings in ./xhprof.admin.inc
Administrative settings form for XHProf module.
xhprof_is_enabled in ./xhprof.module
Check whether XHProf should be enabled for the current request.

File

./xhprof.module, line 569

Code

function xhprof_extension_check() {
  return extension_loaded('xhprof') || extension_loaded('tideways_xhprof');
}