mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Suppress the notice from the nullbyte check
This commit is contained in:
parent
be47f77060
commit
f9b77e392c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue