From 5825af275966027de24f395308cb397be83b7962 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 16 Jan 2012 19:46:10 +0100 Subject: [PATCH] Removed obsolete safemode check --- .../install/files/lib/system/WCFSetup.class.php | 3 --- wcfsetup/setup/lang/setup_de.xml | 2 -- wcfsetup/setup/lang/setup_en.xml | 2 -- .../setup/template/stepShowSystemRequirements.tpl | 13 +------------ 4 files changed, 1 insertion(+), 19 deletions(-) diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index b9de01b9b3..579e37fed3 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -355,9 +355,6 @@ class WCFSetup extends WCF { // mb string $system['mbString']['result'] = extension_loaded('mbstring'); - // safe mode - $system['safeMode']['result'] = (FileUtil::getSafeMode() != 1); - WCF::getTPL()->assign(array( 'system' => $system, 'nextStep' => 'searchWcfDir' diff --git a/wcfsetup/setup/lang/setup_de.xml b/wcfsetup/setup/lang/setup_de.xml index c7bba6e7b0..64df5e1a4a 100644 --- a/wcfsetup/setup/lang/setup_de.xml +++ b/wcfsetup/setup/lang/setup_de.xml @@ -39,8 +39,6 @@ - - diff --git a/wcfsetup/setup/lang/setup_en.xml b/wcfsetup/setup/lang/setup_en.xml index 4a9bc731bc..791a49f7ba 100644 --- a/wcfsetup/setup/lang/setup_en.xml +++ b/wcfsetup/setup/lang/setup_en.xml @@ -39,8 +39,6 @@ - - diff --git a/wcfsetup/setup/template/stepShowSystemRequirements.tpl b/wcfsetup/setup/template/stepShowSystemRequirements.tpl index c7c3693384..b447217c83 100644 --- a/wcfsetup/setup/template/stepShowSystemRequirements.tpl +++ b/wcfsetup/setup/template/stepShowSystemRequirements.tpl @@ -44,17 +44,6 @@ -
- {lang}wcf.global.systemRequirements.safeMode{/lang} -
-
{lang}wcf.global.systemRequirements.element.required{/lang} {lang}wcf.global.systemRequirements.notActive{/lang}
-
- {lang}wcf.global.systemRequirements.element.yours{/lang} {if !$system.safeMode.result}{lang}wcf.global.systemRequirements.active{/lang}{else}{lang}wcf.global.systemRequirements.notActive{/lang}{/if} - {if !$system.safeMode.result}{lang}wcf.global.systemRequirements.safeMode.description{/lang}{/if} -
-
-
-
@@ -86,7 +75,7 @@
- + -- 2.20.1