]> git.mxchange.org Git - friendica.git/blobdiff - mod/install.php
Replace direct accesses to App->config by Config::get/set calls
[friendica.git] / mod / install.php
index 6962ff2ddaf531ff87cb382ffc88ea01e03cd908..0f08b0fd8bbe448727e5e6273481aecca63648d3 100644 (file)
@@ -22,7 +22,8 @@ function install_init(App $a) {
 
        // We overwrite current theme css, because during install we could not have a working mod_rewrite
        // so we could not have a css at all. Here we set a static css file for the install procedure pages
-       $a->config['system']['theme'] = "../install";
+
+       $a->setConfigValue('system', 'value', '../install');
        $a->theme['stylesheet'] = System::baseUrl()."/view/install/style.css";
 
        Install::setInstallMode();