1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 02:04:35 +02:00
This commit is contained in:
Ryan Cramer
2020-04-15 15:58:29 -04:00
parent fcb3f6abdc
commit 20cdbea7a8

View File

@@ -475,7 +475,7 @@ class WireShutdown extends Wire {
// otherwise $why will NOT be populated with anything
if($config->debug) {
$why = $this->labels['debug-mode'] . " (\$config->debug = true; => /site/config.php).";
} else if(!$useHTML) {
} else if($config->cli) {
$why = $this->labels['cli-mode'];
} else if($user && $user->isSuperuser()) {
$why = $this->labels['you-superuser'];