diff --git a/lib/exe/css.php b/lib/exe/css.php index 81e6a39baafa4231677d81b2c998f39b71c9c4dc..69b04fa95e53581d5df8691ee5a8bd9212e526bb 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -34,18 +34,14 @@ function css_out(){ if ($INPUT->str('s') == 'feed') { $mediatypes = array('feed'); - $type = 'feed'; } else { - $mediatypes = array('screen', 'all', 'print'); - $type = ''; + $mediatypes = array('screen', 'all', 'print', 'handheld'); } // decide from where to get the template $tpl = trim(preg_replace('/[^\w-]+/','',$INPUT->str('t'))); if(!$tpl) $tpl = $conf['template']; - // The generated script depends on some dynamic options - $cache = new cache('styles'.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'].$INPUT->int('preview').DOKU_BASE.$tpl.$type,'.css'); // load styl.ini $styleini = css_styleini($tpl, $INPUT->bool('preview'));