From: Alexander Ebert Date: Fri, 8 Nov 2013 20:02:39 +0000 (+0100) Subject: Displaying error message if log file cannot be written X-Git-Tag: 2.0.0_RC_2~43^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e35b45a360d5e3eda11042eb084e4087e3832d0;p=GitHub%2FWoltLab%2FWCF.git Displaying error message if log file cannot be written Fixes #1529 --- diff --git a/wcfsetup/install/files/lib/system/exception/SystemException.class.php b/wcfsetup/install/files/lib/system/exception/SystemException.class.php index a442b9e936..f639921e09 100644 --- a/wcfsetup/install/files/lib/system/exception/SystemException.class.php +++ b/wcfsetup/install/files/lib/system/exception/SystemException.class.php @@ -1,6 +1,7 @@
-

Fatal error: _getMessage()); ?>

+

Fatal error: getExceptionID()) { ?>Unable to write log file, please make "log/" writable!_getMessage()); } ?>

@@ -172,8 +173,12 @@ class SystemException extends LoggedException implements IPrintableException {

Information:

- ID: getExceptionID(); ?>
- + getExceptionID()) { ?> + Unable to write log file, please make "log/" writable! + + ID: getExceptionID(); ?>
+ +