useful pagename variable
This commit is contained in:
parent
9add1d7fbf
commit
2288ffccba
|
|
@ -11,6 +11,8 @@ if($devmode) {
|
|||
error_reporting(E_ALL);
|
||||
}
|
||||
|
||||
$pagename = ucfirst(str_replace(".php", NULL, str_replace("/", NULL, $_SERVER['DOCUMENT_URI'])));
|
||||
|
||||
$maintainers = array("Mario1", "qzip", "nolanwhy");
|
||||
|
||||
$arraybackground = array('win7.png', 'win8.png', 'epic.png', 'yosemite.png', 'aurora.png', 'tiger.png', 'fish.png', 'baconbloxii.png');
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ $getitstarted = new PartyStarter;
|
|||
$getitstarted->header();
|
||||
?>
|
||||
</head>
|
||||
<title><?php echo $sitename; ?> | <?php echo htmlspecialchars($requestUser["username"]); ?></title>
|
||||
<title><?php echo $sitename; ?> | <?php echo $pagename; ?></title>
|
||||
<body>
|
||||
<main class="container mx-auto position-absolute top-50 start-50 translate-middle text-center" style="width: 100%;">
|
||||
<?php echo $errorImage; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue