mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Better $title inventing
This commit is contained in:
@@ -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')) {
|
||||
|
Reference in New Issue
Block a user