More fixes

This commit is contained in:
slawkens
2024-01-31 00:45:59 +01:00
parent f93bcb0557
commit 136659ac9a
2 changed files with 2 additions and 2 deletions

View File

@@ -236,7 +236,7 @@ else {
// parse for define PAGE
$tmp = BASE_DIR;
$uri = $_SERVER['REQUEST_URI'];
if (!empty($tmp)) {
if (strlen($tmp) > 0) {
$uri = str_replace(BASE_DIR . '/', '', $uri);
}