diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-04-09 21:11:44 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-04-09 21:11:44 +0200 |
commit | f9b77e392cd94bd2a7e54b420a4db1340f101e23 (patch) | |
tree | b40cb99585cdaec064c70c9803919af77fec0f4b /core | |
parent | be47f7706027223588ee2e7eddb9434fc88bf785 (diff) | |
download | nextcloud-server-f9b77e392cd94bd2a7e54b420a4db1340f101e23.tar.gz nextcloud-server-f9b77e392cd94bd2a7e54b420a4db1340f101e23.zip |
Suppress the notice from the nullbyte check
Diffstat (limited to 'core')
-rw-r--r-- | core/setup.php | 2 |
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; } |