summaryrefslogtreecommitdiffstats
path: root/lib/templatelayout.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-24 13:45:40 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-24 13:45:40 +0200
commitb98b56e4a8c92d56969806f62390d57d5986855a (patch)
tree529b8b06c7e32bc7504776a60b83cfe0c9f5a2cd /lib/templatelayout.php
parentb1c9b296e809f1a1ebc1283013138f4f5cfc0141 (diff)
downloadnextcloud-server-b98b56e4a8c92d56969806f62390d57d5986855a.tar.gz
nextcloud-server-b98b56e4a8c92d56969806f62390d57d5986855a.zip
check if there is a default/ folder in the theme directory if no theme exists
Diffstat (limited to 'lib/templatelayout.php')
-rw-r--r--lib/templatelayout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php
index 69bebac0503..3c496f56e41 100644
--- a/lib/templatelayout.php
+++ b/lib/templatelayout.php
@@ -103,7 +103,7 @@ class OC_TemplateLayout extends OC_Template {
static public function findStylesheetFiles($styles) {
// Read the selected theme from the config file
- $theme=OC_Config::getValue( 'theme' );
+ $theme = OC_Util::getTheme();
// Read the detected formfactor and use the right file name.
$fext = self::getFormFactorExtension();
@@ -162,7 +162,7 @@ class OC_TemplateLayout extends OC_Template {
static public function findJavascriptFiles($scripts) {
// Read the selected theme from the config file
- $theme=OC_Config::getValue( 'theme' );
+ $theme = OC_Util::getTheme();
// Read the detected formfactor and use the right file name.
$fext = self::getFormFactorExtension();