Index: branches/5.1.x/core/install.php =================================================================== diff -u -N -r14241 -r14360 --- branches/5.1.x/core/install.php (.../install.php) (revision 14241) +++ branches/5.1.x/core/install.php (.../install.php) (revision 14360) @@ -1,6 +1,6 @@ writeableFolders[] = $this->toolkit->defaultWritablePath . '/config.php'; } - if (!$this->toolkit->getSystemConfig('Misc', 'WriteablePath')) { + if ( !$this->toolkit->getSystemConfig('Misc', 'WriteablePath') ) { // set global writable folder when such setting is missing $this->toolkit->setSystemConfig('Misc', 'WriteablePath', $this->toolkit->defaultWritablePath); $this->toolkit->SaveConfig(true); // immediately save, because this path will be used in Application later } + if ( !$this->toolkit->getSystemConfig('Misc', 'RestrictedPath') ) { + $this->toolkit->setSystemConfig('Misc', 'RestrictedPath', $this->toolkit->getSystemConfig('Misc', 'WriteablePath') . DIRECTORY_SEPARATOR . '.restricted'); + $this->toolkit->SaveConfig(true); + } + $this->currentStep = $this->GetVar('step'); // can't check login on steps where no application present anyways :)