From c9a7085308fa8e25b3722c3ea80fbf34af133fc4 Mon Sep 17 00:00:00 2001 From: nolanwhy Date: Sun, 5 Feb 2023 00:08:06 +0100 Subject: [PATCH] Update config.php --- core/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/config.php b/core/config.php index 6e8e199..10b329e 100644 --- a/core/config.php +++ b/core/config.php @@ -11,7 +11,7 @@ if($devmode) { error_reporting(E_ALL); } -$pagename = ucfirst(str_replace(".php", NULL, str_replace("/", NULL, $_SERVER['DOCUMENT_URI'] ?? $_SERVER['PHP_SELF']))); +$pagename = ucfirst(str_replace(".php", "", str_replace("/", "", $_SERVER['DOCUMENT_URI'] ?? $_SERVER['PHP_SELF']))); $maintainers = array("Mario1", "qzip", "nolanwhy");