mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix page title if the index.php is present
This commit is contained in:
parent
f719c02050
commit
c59bacea93
@ -282,7 +282,8 @@ ob_end_clean();
|
|||||||
$hooks->trigger(HOOK_AFTER_PAGE);
|
$hooks->trigger(HOOK_AFTER_PAGE);
|
||||||
|
|
||||||
if(!isset($title)) {
|
if(!isset($title)) {
|
||||||
$title = ucfirst($page);
|
$title = str_replace('index.php/', '', $page);
|
||||||
|
$title = ucfirst($title);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(setting('core.backward_support')) {
|
if(setting('core.backward_support')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user