header.php 298 B

123456789101112
  1. <?php
  2. /**
  3. * @package chamilo.profiling
  4. */
  5. /**
  6. * Init
  7. */
  8. if (extension_loaded('xhprof')) {
  9. include_once dirname(__FILE__).'/xhprof_lib/utils/xhprof_lib.php';
  10. include_once dirname(__FILE__).'/xhprof_lib/utils/xhprof_runs.php';
  11. xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);
  12. }