css-fallback for minified css

This commit is contained in:
Claude 2013-03-24 21:07:54 +01:00
parent 79328da9a8
commit 705c94ffdf

View File

@ -896,6 +896,12 @@ class Carabiner {
$path = ($flag == 'css') ? $this->style_path : $this->script_path;
$ref = ( $this->isURL($file_ref) ) ? $file_ref : realpath($path.$file_ref);
//hack for stikked themes
if(!file_exists($ref)){
$path = ($flag == 'css') ? 'themes/default/css/' : $this->script_path;
$ref = ( $this->isURL($file_ref) ) ? $file_ref : realpath($path.$file_ref);
}
switch($flag){
case 'js':