Closed and1truong closed 9 years ago
in lib/Helper/Timer.php, line 114
Using include() or require() bypasses lazy-loading of third-party classes. Prefer using autoloading.
include()
require()
if (empty($this->xhprof_config)) return array(); $xhprof_data = xhprof_disable(); $config = $this->xhprof_config; require_once $config['root'] . "/xhprof_lib/utils/xhprof_lib.php"; require_once $config['root'] . "/xhprof_lib/utils/xhprof_runs.php"; $xhprof_runs = new \XHProfRuns_Default(); $run_id = $xhprof_runs->save_run($xhprof_data, 'AndyTruong');
Posted from SensioLabsInsight
in lib/Helper/Timer.php, line 114
Posted from SensioLabsInsight