mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-15 17:24:29 +02:00
Better $title inventing
This commit is contained in:
parent
524e982a0e
commit
0c95bcfd06
@ -326,7 +326,9 @@ if (isset($_REQUEST['_page_only'])) {
|
||||
|
||||
if(!isset($title)) {
|
||||
$title = str_replace('index.php/', '', $page);
|
||||
$title = ucfirst($title);
|
||||
$title = str_replace(['_', '-', '/'], ' ', $page);
|
||||
|
||||
$title = ucwords($title);
|
||||
}
|
||||
|
||||
if(setting('core.backward_support')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user