summaryrefslogtreecommitdiff
path: root/lib/exe/detail.php
diff options
context:
space:
mode:
authorTom N Harris <tnharris@whoopdedo.org>2012-06-28 22:04:10 -0400
committerTom N Harris <tnharris@whoopdedo.org>2012-06-28 22:04:10 -0400
commitbfd0f5975e6e3578b4fa0c712e9779a0861fdc72 (patch)
tree53c6fbab61f8178f567c293521fad66fa91099d6 /lib/exe/detail.php
parent7d01a0eac854c623a74ff7936d5eba9413aefe79 (diff)
downloadrpg-bfd0f5975e6e3578b4fa0c712e9779a0861fdc72.tar.gz
rpg-bfd0f5975e6e3578b4fa0c712e9779a0861fdc72.tar.bz2
Input wrapper for exe scripts
Diffstat (limited to 'lib/exe/detail.php')
-rw-r--r--lib/exe/detail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php
index 35186f5dd..ea46bc037 100644
--- a/lib/exe/detail.php
+++ b/lib/exe/detail.php
@@ -6,9 +6,9 @@ require_once(DOKU_INC.'inc/init.php');
session_write_close();
$IMG = getID('media');
-$ID = cleanID($_REQUEST['id']);
+$ID = cleanID($INPUT->str('id'));
-if($conf['allowdebug'] && $_REQUEST['debug']){
+if($conf['allowdebug'] && $INPUT->has('debug')){
print '<pre>';
foreach(explode(' ','basedir userewrite baseurl useslash') as $x){
print '$'."conf['$x'] = '".$conf[$x]."';\n";