Project

General

Profile

« Previous | Next » 

Revision 1489

Added by DarkViper over 13 years ago

little fix in globalExceptionHandler

View differences:

branches/2.8.x/CHANGELOG
12 12

  
13 13
=============================== FEATURES FREEZE ================================
14 14
----------------------------------- Fixes 2.8.2 --------------------------------
15
11 Aug-2011 Build 1489 Werner v.d.Decken(DarkViper)
16
+ little fix in globalExceptionHandler
15 17
11 Aug-2011 Build 1488 Werner v.d.Decken(DarkViper)
16 18
+ globalExceptionHandler activated
17 19
10 Aug-2011 Build 1487 Werner v.d.Decken(DarkViper)
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.2');
55
if(!defined('REVISION')) define('REVISION', '1488');
55
if(!defined('REVISION')) define('REVISION', '1489');
branches/2.8.x/wb/framework/globalExceptionHandler.php
23 23
	class IllegalFileException extends LogicException {
24 24

  
25 25
		public function __toString() {
26
			$file = str_replace(dirname(dirname(__FILE__)), '', $e->getFile());
26
			$file = str_replace(dirname(dirname(__FILE__)), '', $this->getFile());
27 27
			$out  = '<div style="color: #ff0000; text-align: center;"><br /><br /><br /><h1>Illegale file access</h1>';
28 28
			$out .= '<h2>'.$file.'</h2></div>';
29 29
			return $out;

Also available in: Unified diff