Fix Piwigo root resolution in warmup dispatcher

This commit is contained in:
Terranom674
2026-09-03 14:32:24 +02:00
parent f02d2f0239
commit dbcc55351c

View File

@@ -5,7 +5,7 @@ if (PHP_SAPI !== 'cli')
exit;
}
$piwigo_root = realpath(dirname(__DIR__, 2));
$piwigo_root = realpath(dirname(__DIR__, 3));
if ($piwigo_root === false)
{
fwrite(STDERR, "Piwigo-Root wurde nicht gefunden.\n");