From bf2d1e78f23e736f3306d4625b09b1beac9f6db3 Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Tue, 11 Sep 2012 13:16:34 +0200 Subject: don't set values with oc_appconfig when oc is not installed yet, allows to render guest page for installation again --- lib/templatelayout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/templatelayout.php') 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'); } -- cgit v1.2.3