123456789101112131415161718 |
- <?php
- /* For license terms, see /license.txt */
- /**
- * @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 __DIR__.'/xhprof_lib/utils/xhprof_lib.php';
- //include_once __DIR__.'/xhprof_lib/utils/xhprof_runs.php';
- tideways_enable(TIDEWAYS_FLAGS_NO_SPANS);
- }
|