Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/tests/xhprof/header.php

17 lines
613 B

<?php
/**
* @package chamilo.profiling
*/
/**
* Init. Xhprof has been replaced by The Tideways profiler as Xhprof is not
* maintained for PHP anymore (Facebook moved to HHVM).
* See https://tideways.io/profiler/
* To use, you should load header.php and footer.php through an append_file
* in your php config also disable the .htaccess line about the tests/
* directory.
*/
if (extension_loaded('tideways')) {
//include_once dirname(__FILE__).'/xhprof_lib/utils/xhprof_lib.php';
//include_once dirname(__FILE__).'/xhprof_lib/utils/xhprof_runs.php';
tideways_enable(TIDEWAYS_FLAGS_NO_SPANS);
}