mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 12:06:22 +05:30
BugFix: url will be fixed from %20 to [blank]
This commit is contained in:
parent
9165c0467c
commit
3db5895c38
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ function flash($key, $msg = null, $now = false) {
|
|||
|
||||
function dispatch() {
|
||||
|
||||
$path = $_SERVER['REQUEST_URI'];
|
||||
$path = urldecode($_SERVER['REQUEST_URI']);
|
||||
|
||||
if (config('site.url') !== null)
|
||||
$path = preg_replace('@^'.preg_quote(site_path()).'@', '', $path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue