mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +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);
|
||||
|
||||
if(!isset($title)) {
|
||||
$title = ucfirst($page);
|
||||
$title = str_replace('index.php/', '', $page);
|
||||
$title = ucfirst($title);
|
||||
}
|
||||
|
||||
if(setting('core.backward_support')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user