mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 01:39:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1489 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5f91108021
commit
fb52f9fa49
4 changed files with 39 additions and 8 deletions
|
|
@ -487,11 +487,8 @@
|
|||
$url_list[] = sprintf("%s=%s",$key, $val);
|
||||
}
|
||||
|
||||
preg_match("/([a-zA-Z\_]+)\.php/i", $_SERVER['PHP_SELF'], $match);
|
||||
$filename = $match[0];
|
||||
if($filename == 'index.php') $filename = '';
|
||||
|
||||
return './'.$filename.'?'.htmlspecialchars(implode('&', $url_list));
|
||||
$path = str_replace('index.php','',$_SERVER['SCRIPT_NAME']);
|
||||
return sprintf('%s?%s', $path, htmlspecialchars(implode('&',$url_list)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue