// little fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10058 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -81,7 +81,7 @@ class InstallModelInstall extends InstallAbstractModel
|
|||||||
$this->setError($this->language->l('%s file is not writable (check permissions)', self::SETTINGS_FILE));
|
$this->setError($this->language->l('%s file is not writable (check permissions)', self::SETTINGS_FILE));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if (!file_exists(_PS_ROOT_DIR_.'/'.self::SETTINGS_FILE) && !is_writable(_PS_ROOT_DIR.'/'.dirname(self::SETTINGS_FILE)))
|
else if (!file_exists(_PS_ROOT_DIR_.'/'.self::SETTINGS_FILE) && !is_writable(_PS_ROOT_DIR_.'/'.dirname(self::SETTINGS_FILE)))
|
||||||
{
|
{
|
||||||
$this->setError($this->language->l('%s folder is not writable (check permissions)', dirname(self::SETTINGS_FILE)));
|
$this->setError($this->language->l('%s folder is not writable (check permissions)', dirname(self::SETTINGS_FILE)));
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user