diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-09-11 13:16:34 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-09-11 13:16:34 +0200 |
commit | bf2d1e78f23e736f3306d4625b09b1beac9f6db3 (patch) | |
tree | a7e961716840f83b0e6a9508f827df546435b3a4 /lib/templatelayout.php | |
parent | 37f0b85d3f0517a1548a0e62d1d1aa1b04e0c79c (diff) | |
download | nextcloud-server-bf2d1e78f23e736f3306d4625b09b1beac9f6db3.tar.gz nextcloud-server-bf2d1e78f23e736f3306d4625b09b1beac9f6db3.zip |
don't set values with oc_appconfig when oc is not installed yet, allows to render guest page for installation again
Diffstat (limited to 'lib/templatelayout.php')
-rw-r--r-- | lib/templatelayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php index d72f5552fde..c898628bcdf 100644 --- a/lib/templatelayout.php +++ b/lib/templatelayout.php @@ -41,7 +41,7 @@ class OC_TemplateLayout extends OC_Template { } $this->assign( 'apps_paths', str_replace('\\/', '/',json_encode($apps_paths)),false ); // Ugly unescape slashes waiting for better solution - if (!OC_AppConfig::getValue('core', 'remote_core.css', false)) { + if (OC_Config::getValue('installed', false) && !OC_AppConfig::getValue('core', 'remote_core.css', false)) { OC_AppConfig::setValue('core', 'remote_core.css', '/core/minimizer.php'); OC_AppConfig::setValue('core', 'remote_core.js', '/core/minimizer.php'); } |