summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-29 22:53:20 +0200
committerandi <andi@splitbrain.org>2005-04-29 22:53:20 +0200
commit6c7843b5addbca9ae2dc1d9d19be8d67663eb8e5 (patch)
treea9a3f0f481e32f2ce5cb3b256b25b5f482b0b777 /doku.php
parent093ec9e4fcc037744441b83e6ab1a7193c258f96 (diff)
downloadrpg-6c7843b5addbca9ae2dc1d9d19be8d67663eb8e5.tar.gz
rpg-6c7843b5addbca9ae2dc1d9d19be8d67663eb8e5.tar.bz2
added internal rewriting
darcs-hash:20050429205320-9977f-6bf54f3b022104a0a9aefa882dfba09a98bc9c2a.gz
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/doku.php b/doku.php
index 6f4ce89b2..dc1553591 100644
--- a/doku.php
+++ b/doku.php
@@ -20,7 +20,8 @@
//import variables
$QUERY = trim($_REQUEST['id']);
- $ID = cleanID($_REQUEST['id']);
+# $ID = cleanID($_REQUEST['id']);
+ $ID = getID();
$REV = $_REQUEST['rev'];
$ACT = $_REQUEST['do'];
$IDX = $_REQUEST['idx'];
@@ -43,8 +44,7 @@
}
if(!empty($IDX)) $ACT='index';
- //set defaults
- if(empty($ID)) $ID = $conf['start'];
+ //set default #FIXME not needed here? done in actions?
if(empty($ACT)) $ACT = 'show';