MDL-44977 tool_profiling: set xhprof default settings
commit22001b4a9b26ab984b0e47f9517627eebcb47418
authorRajesh Taneja <rajesh@moodle.com>
Mon, 7 Apr 2014 06:51:49 +0000 (7 14:51 +0800)
committerRajesh Taneja <rajesh@moodle.com>
Mon, 7 Apr 2014 06:55:55 +0000 (7 14:55 +0800)
treead94ed7b4d7349e3f5f01a4b9a42768b90809595
parent1a727e121ef94ae80dd2a8a13f49049d3bc25ef3
MDL-44977 tool_profiling: set xhprof default settings

Set xhprof default settings, even if xhprof is not installed.
If xhprof is not installed, hide profiling admin settings,
else show them.
This is needed, because if xhprof is installed, then it will
fail all non-js behats which navigate to setting under
site administration, as profiling settings get displayed on
default admin page.
admin/settings/development.php