First Commit
This commit is contained in:
@@ -22,7 +22,7 @@ function get_current_page() {
|
||||
$page = $_GET["page"] ?? "home";
|
||||
|
||||
$page = strtolower(trim($page));
|
||||
$page = preg_replace("/[^a-z0-9\-]/", "", $page);
|
||||
$page = preg_replace("/[^a-z0-9\-_]/", "", $page);
|
||||
|
||||
if ($page === "") {
|
||||
$page = "home";
|
||||
|
||||
Reference in New Issue
Block a user