diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-04-09 23:11:44 +0400 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-04-10 00:20:48 +0400 |
commit | e26cdc4cdd5a584f41cc5d78959321c3d81ff33d (patch) | |
tree | 31679fafef3a50467a53398d8b98089398a54e0f /core | |
parent | 9159d556390a4c408b8c2dc03f5ea778e8c1b145 (diff) |
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; } |