Commit 7753e303 by 朱继来

调整path

parent 505a6480
Showing with 1 additions and 1 deletions
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
$menu_href = json_decode($menus); $menu_href = json_decode($menus);
} }
$path = $parse_url['path']; // path路径 $path = isset($parse_url['path']) ? $parse_url['path'] : ''; // path路径
if (in_array($path, $menu_href)) { if (in_array($path, $menu_href)) {
if (preg_match('/\/web\//', $path)) { if (preg_match('/\/web\//', $path)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment