stylesheets have .css as extention, not .js

This commit is contained in:
Robin Appelman 2011-04-22 20:21:33 +02:00
parent 4c0d6dc9e7
commit 08cfe4b6ff
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ class OC_TEMPLATE{
}
}
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" );
}else{
$page->append( "cssfiles", "$WEBROOT/$style.css" );