align config.inc path for security check
Dieser Commit ist enthalten in:
Ursprung
5c5101525f
Commit
0673841d60
@ -23,7 +23,7 @@
|
||||
function checkAccess(string $action): void
|
||||
{
|
||||
unset($action);
|
||||
if ($_COOKIE['filemanagerkey'] !== md5_file("../../../../../../config.inc.php")) {
|
||||
if ($_COOKIE['filemanagerkey'] !== md5_file(__DIR__."/../../../../../../../source/config.inc.php")) {
|
||||
die('nice try, noob.');
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren