修复页脚错误

This commit is contained in:
wlx 2014-08-27 09:37:20 +00:00
parent e659744c41
commit 6f0f2d4a53
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?php
$url = substr_replace(parse_url($_SERVER['SCRIPT_URL']), '', 0, 6);
$url = substr_replace(parse_url("$_SERVER[REQUEST_URI]"), '', 0, 6);
$nav = str_replace("/","-",$url);
$text = implode(",", $nav);
?>