From 08cfe4b6ffb651f13d13741eebba9bac373a46d7 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Fri, 22 Apr 2011 20:21:33 +0200
Subject: [PATCH] stylesheets have .css as extention, not .js

---
 lib/template.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/template.php b/lib/template.php
index cdd8f2fb32..75e4303ff6 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" );
-- 
GitLab