mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 12:54:31 +00:00
Fix Piwigo root resolution in derivative caller
This commit is contained in:
@@ -19,7 +19,7 @@ if ($request === '' || strpos($request, '/i.php?/') !== 0)
|
||||
exit(2);
|
||||
}
|
||||
|
||||
$piwigo_root = realpath(dirname(__DIR__, 3));
|
||||
$piwigo_root = realpath(dirname(__DIR__, 4));
|
||||
if ($piwigo_root === false || !is_file($piwigo_root.'/i.php'))
|
||||
{
|
||||
fwrite(STDERR, "Piwigo i.php wurde nicht gefunden.\n");
|
||||
|
||||
Reference in New Issue
Block a user