projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b2fb15
)
One more place to use the global mod_rewrite option
author
Ben Klang
<ben@alkaloid.net>
Wed, 3 Nov 2010 18:33:28 +0000
(14:33 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Wed, 3 Nov 2010 18:35:06 +0000
(14:35 -0400)
wicked/lib/Text_Wiki/Render/Xhtml/Wikilink2.php
patch
|
blob
|
history
diff --git
a/wicked/lib/Text_Wiki/Render/Xhtml/Wikilink2.php
b/wicked/lib/Text_Wiki/Render/Xhtml/Wikilink2.php
index
944f969
..
53037c9
100644
(file)
--- a/
wicked/lib/Text_Wiki/Render/Xhtml/Wikilink2.php
+++ b/
wicked/lib/Text_Wiki/Render/Xhtml/Wikilink2.php
@@
-67,7
+67,7
@@
class Text_Wiki_Render_Xhtml_Wikilink2 extends Text_Wiki_Render_Xhtml_Wikilink
return $this->textEncode($text);
}
- $href = sprintf($new_url, (
!empty($GLOBALS['conf']['options']['use_mod_rewrite']
) ? htmlspecialchars($page) : $this->urlEncode($page)));
+ $href = sprintf($new_url, (
($GLOBALS['conf']['urls']['pretty'] == 'rewrite'
) ? htmlspecialchars($page) : $this->urlEncode($page)));
// get the appropriate CSS class and new-link text
$css = ' class="'.$this->textEncode($this->getConf('css_new')).'"';