aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-04-09 13:10:26 -0700
committerLukas Reschke <lukas@statuscode.ch>2013-04-09 13:10:26 -0700
commit0c395e9aa4cadcc6e58dcadcd9d555a96cb7f3e3 (patch)
tree4f8607c81d1bc8e6b152842b6677e37f2e8cc85c
parent8db76ef7d2042585cda983da1d521721cc6561b6 (diff)
parentf9b77e392cd94bd2a7e54b420a4db1340f101e23 (diff)
downloadnextcloud-server-0c395e9aa4cadcc6e58dcadcd9d555a96cb7f3e3.tar.gz
nextcloud-server-0c395e9aa4cadcc6e58dcadcd9d555a96cb7f3e3.zip
Merge pull request #2834 from owncloud/suppress-setup-warning
Suppress the notice from the nullbyte check
-rw-r--r--core/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/setup.php b/core/setup.php
index b61590e9e4b..40e30db533a 100644
--- a/core/setup.php
+++ b/core/setup.php
@@ -19,7 +19,7 @@ $hasOracle = is_callable('oci_connect');
$hasMSSQL = is_callable('sqlsrv_connect');
$datadir = OC_Config::getValue('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)
+if(@file_exists(__FILE__."\0Nullbyte")) { // Check if the used PHP version is vulnerable to the NULL Byte attack (CVE-2006-7243)
$vulnerableToNullByte = true;
}