diff options
| author | 2016-03-06 14:36:53 +0100 | |
|---|---|---|
| committer | 2016-03-06 14:36:53 +0100 | |
| commit | c1358acf1da2c34e6591d4555af7012847d7aae8 (patch) | |
| tree | 01d8caf2dbc6e9d8da5d2a15bc673a12f0dc0c2c /lib | |
| parent | 765f9802b4f52161d78a61501edc1323b4d2ef54 (diff) | |
| parent | e265c943190ad490c6da414b1e243ade14797652 (diff) | |
Merge pull request #1109 from aledeg/fix-redirection-after-deletion
Fix redirection while deleting a feed
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/Url.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php index 4279b045b..382437e9a 100644 --- a/lib/Minz/Url.php +++ b/lib/Minz/Url.php @@ -27,6 +27,8 @@ class Minz_Url { $url_string = Minz_Request::getBaseUrl(PUBLIC_TO_INDEX_PATH); if ($url_string === PUBLIC_TO_INDEX_PATH) { $url_string = Minz_Request::guessBaseUrl(); + } else { + $url_string .= '/'; } } else { $url_string = $isArray ? '.' : PUBLIC_RELATIVE; |
