summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-01-21 20:34:57 +0100
committerandi <andi@splitbrain.org>2005-01-21 20:34:57 +0100
commitfbe55665f7a050bd5c310fd1597cf42eb4dabb94 (patch)
tree29526f0ff54d274e6962dcf7ac05250aec78f3fb
parent0d8a2ea0dbc225fc16785fe5c47a89ad96556c4c (diff)
downloadrpg-fbe55665f7a050bd5c310fd1597cf42eb4dabb94.tar.gz
rpg-fbe55665f7a050bd5c310fd1597cf42eb4dabb94.tar.bz2
allow slash in pagenames only when useslash enabled #70
darcs-hash:20050121193457-9977f-2e8ed9ee8a5403f83e9531dd0444467125063c9d.gz
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index c17310d7e..eb7902106 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -396,7 +396,7 @@ function cleanID($id){
//alternative namespace seperator
$id = strtr($id,';',':');
- $id = strtr($id,'/',':');
+ if($conf['useslash']) $id = strtr($id,'/',':');
if(!$conf['localnames']){
if($lang['encoding'] == 'iso-8859-15'){