summaryrefslogtreecommitdiffstats
path: root/core/setup
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-17 14:19:20 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-17 14:19:20 +0100
commit20d57c8bfe61857503ae4a6f1734439e5038b37c (patch)
treeea19cbbdd3adc5fd7978a0e34b67a033835a94e9 /core/setup
parent76c511de92f1b4dc6dcc31ac5ae15ffade29bb18 (diff)
downloadnextcloud-server-20d57c8bfe61857503ae4a6f1734439e5038b37c.tar.gz
nextcloud-server-20d57c8bfe61857503ae4a6f1734439e5038b37c.zip
Remove Null Byte Check
This is not relevant anymore since we require PHP 5.4
Diffstat (limited to 'core/setup')
-rw-r--r--core/setup/controller.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/setup/controller.php b/core/setup/controller.php
index 854c30ac769..c059a48655e 100644
--- a/core/setup/controller.php
+++ b/core/setup/controller.php
@@ -131,10 +131,6 @@ class Controller {
$databases = $setup->getSupportedDatabases();
$dataDir = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT.'/data');
- $vulnerableToNullByte = false;
- if(@file_exists(__FILE__."\0Nullbyte")) { // Check if the used PHP version is vulnerable to the NULL Byte attack (CVE-2006-7243)
- $vulnerableToNullByte = true;
- }
$errors = array();
@@ -200,7 +196,6 @@ class Controller {
'databases' => $databases,
'directory' => $dataDir,
'htaccessWorking' => $htAccessWorking,
- 'vulnerableToNullByte' => $vulnerableToNullByte,
'errors' => $errors,
);
}