mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 04:21:17 -05:00
css-fallback for minified css
This commit is contained in:
parent
79328da9a8
commit
705c94ffdf
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user