Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-24 15:45:40 +0400
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-24 18:12:10 +0400
commitff498243124195dae4d8af6b2d01180db0adb840 (patch)
tree59315eaa9c7491b849cf812cd9a6854b8062148b /lib/template.php
parentbb3d39f728ad3a115919e717ec448c37e5d27cd3 (diff)
check if there is a default/ folder in the theme directory if no theme exists
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 434c1e9e990..f007618ff19 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -272,7 +272,7 @@ class OC_Template{
protected function findTemplate($name)
{
// 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();