diff --git a/lib/template.php b/lib/template.php index cdd8f2fb32f..75e4303ff6a 100644 --- a/lib/template.php +++ b/lib/template.php @@ -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" );