mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 19:54:31 +00:00
Fix Piwigo root resolution in WebDAV warmup audit
This commit is contained in:
@@ -5,7 +5,7 @@ if (PHP_SAPI !== 'cli')
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$piwigo_root = realpath(dirname(__DIR__, 3));
|
$piwigo_root = realpath(dirname(__DIR__, 4));
|
||||||
if ($piwigo_root === false)
|
if ($piwigo_root === false)
|
||||||
{
|
{
|
||||||
fwrite(STDERR, "Piwigo-Root wurde nicht gefunden.\n");
|
fwrite(STDERR, "Piwigo-Root wurde nicht gefunden.\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user