diff options
author | andi <andi@splitbrain.org> | 2005-02-15 21:20:42 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-02-15 21:20:42 +0100 |
commit | 3021e063ac046276d21e77ebd7dea22bb49f12c4 (patch) | |
tree | e48aac9703a8e33a17958a2b50966654821c0c46 | |
parent | 0f0ed96197238306e3b9e39caff9b8e7ed327e8e (diff) | |
download | rpg-3021e063ac046276d21e77ebd7dea22bb49f12c4.tar.gz rpg-3021e063ac046276d21e77ebd7dea22bb49f12c4.tar.bz2 |
fixed slash in pagenames #144
darcs-hash:20050215202042-9977f-319be1272d78e47c142f267c8ee2ec9e2c10acc2.gz
-rw-r--r-- | inc/common.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index e1ccb94b5..7a74ceb99 100644 --- a/inc/common.php +++ b/inc/common.php @@ -447,7 +447,11 @@ function cleanID($id){ //alternative namespace seperator $id = strtr($id,';',':'); - if($conf['useslash']) $id = strtr($id,'/',':'); + if($conf['useslash']){ + $id = strtr($id,'/',':'); + }else{ + $id = strtr($id,'/','_'); + } if($conf['deaccent']) $id = utf8_deaccent($id,-1); |