Skip to content
Snippets Groups Projects
Commit bf2d1e78 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

don't set values with oc_appconfig when oc is not installed yet, allows to...

don't set values with oc_appconfig when oc is not installed yet, allows to render guest page for installation again
parent 37f0b85d
No related branches found
No related tags found
No related merge requests found
......@@ -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');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment