stylesheets have .css as extention, not .js
This commit is contained in:
parent
4c0d6dc9e7
commit
08cfe4b6ff
|
@ -219,7 +219,7 @@ class OC_TEMPLATE{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach(OC_UTIL::$styles as $style){
|
foreach(OC_UTIL::$styles as $style){
|
||||||
if(is_file("$SERVERROOT/apps/$style.js" )){
|
if(is_file("$SERVERROOT/apps/$style.css" )){
|
||||||
$page->append( "cssfiles", "$WEBROOT/apps/$style.css" );
|
$page->append( "cssfiles", "$WEBROOT/apps/$style.css" );
|
||||||
}else{
|
}else{
|
||||||
$page->append( "cssfiles", "$WEBROOT/$style.css" );
|
$page->append( "cssfiles", "$WEBROOT/$style.css" );
|
||||||
|
|
Loading…
Reference in New Issue