From a23792bfde254b8c72c225f113969240701f27e9 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 13 Jun 2022 08:32:08 +0200 Subject: [PATCH] router debug --- proj/map/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proj/map/index.php b/proj/map/index.php index d990ba0..2675c91 100644 --- a/proj/map/index.php +++ b/proj/map/index.php @@ -6,7 +6,7 @@ if (isset($_SERVER['REQUEST_URI'])) { $uri = explode('/', $_SERVER['REQUEST_URI']); } -if ($uri[1] == '') { +if ($uri[1] == '' || ($uri[1] == 'proj' && $uri[2] == 'map')) { include ("asset/php/home.php"); } elseif ($uri[1] == 'edit') { include("asset/php/edit.php");