后台footer修改

替换函数SCRIPT_URL
This commit is contained in:
Cui Xin 2014-08-27 09:17:24 +00:00
parent b51a26d3b1
commit e659744c41
1 changed files with 1 additions and 1 deletions

View File

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