Config/Profiler

* update config to enable/disable profiler in general, instead of just the queue
 * regenerate affected files on config change
This commit is contained in:
Sarjuuk
2018-03-27 12:39:14 +02:00
parent c17cf9c043
commit 22d02378ef
13 changed files with 37 additions and 7 deletions

View File

@@ -471,7 +471,8 @@ class AjaxAdmin extends AjaxHandler
$msg .= ' * remember to rebuild all static files for the language you just added.<br />';
$msg .= ' * you can speed this up by supplying the regionCode to the setup: <pre class="q1">--locales=<regionCodes,> -f</pre>';
break;
case 'profiler_queue':
case 'profiler_enable':
$buildList = 'realms,realmMenu';
$fn = function($x) use (&$msg) {
if (!$x)
return true;