mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2026-03-14 20:55:50 +01:00
oops
This commit is contained in:
parent
63b9355b70
commit
83b4a2f649
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ if ($use_auth) {
|
|||
if (PHP_MAJOR_VERSION >= 8) {
|
||||
return str_starts_with($haystack, $needle);
|
||||
}
|
||||
return strlen($needle) <= strlen($haystack) && 0 === substr_compare($haystack, $needle, 0);
|
||||
return 0 === substr_compare($haystack, $needle, 0, strlen($needle));
|
||||
};
|
||||
$needles = array(
|
||||
'$1$', // CRYPT_MD5,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue