From: Jan Schneider Date: Mon, 13 Dec 2010 17:12:01 +0000 (+0100) Subject: Show full error trace on CLI too. CLI scripts can only be run by administrators X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=40db6604d2c0f270ca9dd7e77bcb9c3aec48e32e;p=horde.git Show full error trace on CLI too. CLI scripts can only be run by administrators anyway. --- diff --git a/framework/Core/lib/Horde.php b/framework/Core/lib/Horde.php index 0b5da579d..cd0a20287 100644 --- a/framework/Core/lib/Horde.php +++ b/framework/Core/lib/Horde.php @@ -117,7 +117,7 @@ class Horde $errortext .= '

' . htmlspecialchars($error) . '

'; } - if ($admin) { + if ($admin || $cli) { if ($error instanceof Exception) { $trace = $error; } else {