diff --git a/classes/ExceptionDisplay.php b/classes/ExceptionDisplay.php index 36a998e..294268f 100644 --- a/classes/ExceptionDisplay.php +++ b/classes/ExceptionDisplay.php @@ -41,22 +41,36 @@ if (!defined('IN_AUTOINDEX') || !IN_AUTOINDEX) */ class ExceptionDisplay extends ExceptionFatal { + protected $request; + protected $language; /** * @return string The HTML text to display */ public function __toString() { - global $words, $_SERVER, $_GET; - $str = '
| ' . $this -> message . ' ' . (isset($words) ? $words -> __get('continue') : 'Continue') - . '. |
| ' . $this->message . '
+ + ' . (isset($this->language) ? $this->language->__get('continue') : 'Continue') . '. + + |
+