From: Marcel Werk Date: Thu, 30 May 2013 18:25:36 +0000 (+0200) Subject: Removed obsolete code X-Git-Tag: 2.0.0_Beta_2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c0d09202b927fc84ccf4882c6a9adda8179ab59;p=GitHub%2FWoltLab%2FWCF.git Removed obsolete code --- 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.'); } }