MDL-29029 move unsuproles to admin tools
[moodle.git] / admin / report / profiling / settings.php
CommitLineData
6af80cae
EL
1<?php
2
3defined('MOODLE_INTERNAL') || die;
4
5// profiling report, added to development
c646dd26 6if (extension_loaded('xhprof') && function_exists('xhprof_enable') && (!empty($CFG->profilingenabled) || !empty($CFG->earlyprofilingenabled))) {
6af80cae
EL
7 $ADMIN->add('development', new admin_externalpage('reportprofiling', get_string('pluginname', 'report_profiling'), "$CFG->wwwroot/$CFG->admin/report/profiling/index.php", 'moodle/site:config'));
8}