summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-04-09 21:11:44 +0200
committerBart Visscher <bartv@thisnet.nl>2013-04-09 21:11:44 +0200
commitf9b77e392cd94bd2a7e54b420a4db1340f101e23 (patch)
treeb40cb99585cdaec064c70c9803919af77fec0f4b /core
parentbe47f7706027223588ee2e7eddb9434fc88bf785 (diff)
downloadnextcloud-server-f9b77e392cd94bd2a7e54b420a4db1340f101e23.tar.gz
nextcloud-server-f9b77e392cd94bd2a7e54b420a4db1340f101e23.zip
Suppress the notice from the nullbyte check
Diffstat (limited to 'core')
-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;
}