diff options
author | Tom N Harris <tnharris@whoopdedo.org> | 2012-06-28 22:04:10 -0400 |
---|---|---|
committer | Tom N Harris <tnharris@whoopdedo.org> | 2012-06-28 22:04:10 -0400 |
commit | bfd0f5975e6e3578b4fa0c712e9779a0861fdc72 (patch) | |
tree | 53c6fbab61f8178f567c293521fad66fa91099d6 /lib/exe/css.php | |
parent | 7d01a0eac854c623a74ff7936d5eba9413aefe79 (diff) | |
download | rpg-bfd0f5975e6e3578b4fa0c712e9779a0861fdc72.tar.gz rpg-bfd0f5975e6e3578b4fa0c712e9779a0861fdc72.tar.bz2 |
Input wrapper for exe scripts
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r-- | lib/exe/css.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php index 69b512205..5cc4ab830 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -29,14 +29,14 @@ function css_out(){ global $conf; global $lang; global $config_cascade; + global $INPUT; $mediatype = 'screen'; - if (isset($_REQUEST['s']) && - in_array($_REQUEST['s'], array('all', 'print', 'feed'))) { - $mediatype = $_REQUEST['s']; + if (in_array($INPUT->str('s'), array('all', 'print', 'feed'))) { + $mediatype = $INPUT->str('s'); } - $tpl = trim(preg_replace('/[^\w-]+/','',$_REQUEST['t'])); + $tpl = trim(preg_replace('/[^\w-]+/','',$INPUT->str('t'))); if($tpl){ $tplinc = DOKU_INC.'lib/tpl/'.$tpl.'/'; $tpldir = DOKU_BASE.'lib/tpl/'.$tpl.'/'; |