From 9e35b45a360d5e3eda11042eb084e4087e3832d0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 8 Nov 2013 21:02:39 +0100 Subject: [PATCH] Displaying error message if log file cannot be written Fixes #1529 --- .../lib/system/exception/SystemException.class.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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(); ?>
+ +

-- 2.20.1