Index: branches/5.1.x/core/install.php =================================================================== diff -u -N -r13369 -r13392 --- branches/5.1.x/core/install.php (.../install.php) (revision 13369) +++ branches/5.1.x/core/install.php (.../install.php) (revision 13392) @@ -1,6 +1,6 @@ toolkit->INIFile)) { // if config.php found, then check his write permission too - $this->writeableFolders[] = '/config.php'; + $this->writeableFolders[] = $this->toolkit->defaultWritablePath . '/config.php'; } - else { - $this->writeableFolders[] = '/'; - } if (!$this->toolkit->getSystemConfig('Misc', 'WriteablePath')) { // set global writable folder when such setting is missing - $this->toolkit->setSystemConfig('Misc', 'WriteablePath', DIRECTORY_SEPARATOR . 'system'); + $this->toolkit->setSystemConfig('Misc', 'WriteablePath', $this->toolkit->defaultWritablePath); $this->toolkit->SaveConfig(true); // immediately save, because this path will be used in Application later } @@ -389,7 +385,7 @@ } $write_check = true; - $check_paths = Array ('/', '/index.php', '/config.php', ADMIN_DIRECTORY . '/index.php'); + $check_paths = Array ('/', '/index.php', $this->toolkit->defaultWritablePath . '/config.php', ADMIN_DIRECTORY . '/index.php'); foreach ($check_paths as $check_path) { $path_check_status = $this->toolkit->checkWritePermissions(FULL_PATH . $check_path);