mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-29 14:46:49 +01:00
Fix empty PAGE
This commit is contained in:
@@ -247,6 +247,10 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$page = $uri;
|
$page = $uri;
|
||||||
|
if (empty($page)) {
|
||||||
|
$page = 'news';
|
||||||
|
}
|
||||||
|
|
||||||
$file = BASE . $path;
|
$file = BASE . $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user