Core/(Logs|Cache) -> Site

This commit is contained in:
2022-12-04 13:21:40 +01:00
parent b1059717c7
commit 87f7b44010
12 changed files with 11 additions and 15 deletions

View File

@@ -83,7 +83,7 @@ namespace Core\API\Logs {
}
// get all log entries from filesystem (if database failed)
$logPath = realpath(implode(DIRECTORY_SEPARATOR, [WEBROOT, "Core", "Logs"]));
$logPath = realpath(implode(DIRECTORY_SEPARATOR, [WEBROOT, "Site", "Logs"]));
if ($logPath) {
$index = 1;
foreach (scandir($logPath) as $fileName) {