Integrate Dokuwiki ACL for file endpoint
This commit is contained in:
@@ -75,11 +75,6 @@ class ScratchpadMap
|
||||
continue;
|
||||
}
|
||||
|
||||
// Ignore W> lines for compatibility with the Path config style
|
||||
if (str_starts_with($line, 'W>')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Treat as file path (no trailing slash enforced)
|
||||
$filePath = Path::cleanPath($line, false);
|
||||
if ($filePath === '' || str_ends_with($filePath, '/')) {
|
||||
|
||||
Reference in New Issue
Block a user