summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-22 20:21:33 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-23 02:30:34 +0200
commit08cfe4b6ffb651f13d13741eebba9bac373a46d7 (patch)
treeab1b32d93112502331eaf8a0b46a98c3b1a23a96 /lib/template.php
parent4c0d6dc9e7842e1a21e5c01f50e0b61edffa34bf (diff)
downloadnextcloud-server-08cfe4b6ffb651f13d13741eebba9bac373a46d7.tar.gz
nextcloud-server-08cfe4b6ffb651f13d13741eebba9bac373a46d7.zip
stylesheets have .css as extention, not .js
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php2
1 files changed, 1 insertions, 1 deletions
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" );