mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Started updating href paths to absolute paths instead of relative paths as itflow should be installed in document root anyway and not a sub-directory
This commit is contained in:
@@ -5,18 +5,7 @@
|
||||
// Get the current page name without the .php extension
|
||||
$page_title = basename($_SERVER['PHP_SELF'], '.php');
|
||||
|
||||
// Remove 'client_' from the page name
|
||||
$page_title = str_replace('client_', '', $page_title);
|
||||
|
||||
// Remove 'report_' from the page name
|
||||
$page_title = str_replace('report_', '', $page_title);
|
||||
|
||||
// Remove 'admin_' from the page name
|
||||
$page_title = str_replace('admin_', '', $page_title);
|
||||
|
||||
// Remove 'admin_' from the page name
|
||||
$page_title = str_replace('settings_', '', $page_title);
|
||||
|
||||
// Lets make the Page title look pretty
|
||||
// Replace any underscores with spaces
|
||||
$page_title = str_replace('_', ' ', $page_title);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user