Fix Piwigo root resolution in WebDAV warmup audit

This commit is contained in:
Terranom674 committed 2026-09-03 14:31:44 +02:00
1 parent 362d24b89a
commit 2617175158
1 file changed
+1 -1
+1 -1
View File
@@ -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");