From fbe55665f7a050bd5c310fd1597cf42eb4dabb94 Mon Sep 17 00:00:00 2001 From: andi Date: Fri, 21 Jan 2005 20:34:57 +0100 Subject: allow slash in pagenames only when useslash enabled #70 darcs-hash:20050121193457-9977f-2e8ed9ee8a5403f83e9531dd0444467125063c9d.gz --- inc/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'){ -- cgit v1.2.3