mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix empty PAGE
This commit is contained in:
parent
c996f25d8d
commit
89deca1adb
@ -247,6 +247,10 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$page = $uri;
|
$page = $uri;
|
||||||
|
if (empty($page)) {
|
||||||
|
$page = 'news';
|
||||||
|
}
|
||||||
|
|
||||||
$file = BASE . $path;
|
$file = BASE . $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user