Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-04-09 23:11:44 +0400
committerThomas Mueller <thomas.mueller@tmit.eu>2013-04-10 00:20:48 +0400
commite26cdc4cdd5a584f41cc5d78959321c3d81ff33d (patch)
tree31679fafef3a50467a53398d8b98089398a54e0f /core
parent9159d556390a4c408b8c2dc03f5ea778e8c1b145 (diff)
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;
}