Skip to content
Snippets Groups Projects
Commit 85319150 authored by Gerry Weißbach's avatar Gerry Weißbach
Browse files

Add the preview-bool for the cache file.

parent e7c68c4d
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ function css_out(){
}
// The generated script depends on some dynamic options
$cache = new cache('styles'.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'].DOKU_BASE.$tpl.$type,'.css');
$cache = new cache('styles'.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'].$INPUT->bool('preview').DOKU_BASE.$tpl.$type,'.css');
$cache->_event = 'CSS_CACHE_USE';
// check cache age & handle conditional request
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment