projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cceb2d
)
eh, simplify...
author
Michael Rubinsky
<mrubinsk@simon.horde.org>
Sun, 15 Aug 2010 15:34:16 +0000
(15:34 +0000)
committer
Michael Rubinsky
<mrubinsk@simon.horde.org>
Sun, 15 Aug 2010 15:34:16 +0000
(15:34 +0000)
framework/Core/lib/Horde.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde.php
b/framework/Core/lib/Horde.php
index
c4f782e
..
6b21677
100644
(file)
--- a/
framework/Core/lib/Horde.php
+++ b/
framework/Core/lib/Horde.php
@@
-1285,7
+1285,7
@@
HTML;
if ($script_params) {
if ($pathInfo = Horde_Util::getPathInfo()) {
- $url .= (s
trrpos($url, '/') !== (strlen($url) - 1)
? '/' : '') . $pathInfo;
+ $url .= (s
ubstr($url, -1) != '/'
? '/' : '') . $pathInfo;
}
if (!empty($_SERVER['QUERY_STRING'])) {
$url .= '?' . $_SERVER['QUERY_STRING'];