Project

General

Profile

« Previous | Next » 

Revision 1647

Added by darkviper over 12 years ago

add additional exeptionhandling in globalExceptionHandler

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14

  
15
22 Mar-2012 Build 1642 Dietmar Woellbrink (Luisehahne)
14
23 Mar-2012 Build 1647 Werner v.d.Decken(DarkViper)
15
+ add additional exeptionhandling in globalExceptionHandler
16
23 Mar-2012 Build 1646 Dietmar Woellbrink (Luisehahne)
16 17
# typofix in templates to include jquery
17
22 Mar-2012 Build 1642 Dietmar Woellbrink (Luisehahne)
18
22 Mar-2012 Build 1645 Dietmar Woellbrink (Luisehahne)
18 19
+ add language variable for template details
19 20
22 Mar-2012 Build 1644 Werner v.d.Decken(DarkViper)
20 21
# prevent from empty theme-name in CopyTheme::_SanitizeNewName()
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1646');
54
if(!defined('REVISION')) define('REVISION', '1647');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/globalExceptionHandler.php
42 42
			$sResponse  = $_SERVER['SERVER_PROTOCOL'].' 403 Forbidden';
43 43
			header($sResponse);
44 44
			echo $e;
45
		}elseif($e instanceof RuntimeException) {
46
			$out  ='There was a serious runtime error:'."\n";
47
			$out .= $e->getMessage()."\n";
48
			$out .= 'in line ('.$e->getLine().') of ('.$file.')'."\n";
49
			echo $out;
45 50
		}else {
46 51
		// default exception handling
47 52
			$out  = 'There was an unknown exception:'."\n";

Also available in: Unified diff