From 8c0d09202b927fc84ccf4882c6a9adda8179ab59 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 30 May 2013 20:25:36 +0200 Subject: [PATCH] Removed obsolete code --- wcfsetup/install/files/lib/util/FileUtil.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/util/FileUtil.class.php b/wcfsetup/install/files/lib/util/FileUtil.class.php index d1d49de604..d119ee9346 100644 --- a/wcfsetup/install/files/lib/util/FileUtil.class.php +++ b/wcfsetup/install/files/lib/util/FileUtil.class.php @@ -67,9 +67,7 @@ final class FileUtil { return $path; } else { - if (ini_get('safe_mode')) $reason = "due to php safe_mode restrictions"; - else $reason = "due to an unknown reason"; - throw new SystemException('There is no access to the system temporary folder '.$reason.' and no user specific temporary folder exists in '.WCF_DIR.'! This is a misconfiguration of your webserver software! Please create a folder called '.$path.' using your favorite ftp program, make it writable and then retry this installation.'); + throw new SystemException('There is no access to the system temporary folder due to an unknown reason and no user specific temporary folder exists in '.WCF_DIR.'! This is a misconfiguration of your webserver software! Please create a folder called '.$path.' using your favorite ftp program, make it writable and then retry this installation.'); } } -- 2.20.1