From: Robin Appelman Date: Fri, 22 Apr 2011 18:21:33 +0000 (+0200) Subject: stylesheets have .css as extention, not .js X-Git-Tag: v3.0~267^2~558^2~34^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=08cfe4b6ffb651f13d13741eebba9bac373a46d7;p=nextcloud-server.git stylesheets have .css as extention, not .js --- 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" );