[-] Installer: Switch test of session.save_path to optional test

This commit is contained in:
Rémi Gaillard
2013-03-29 15:48:46 +01:00
parent 01eaffcd1c
commit e31e4ae018
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -320,4 +320,4 @@ class ConfigurationTestCore
{ {
return extension_loaded('Dom'); return extension_loaded('Dom');
} }
} }
+2 -3
View File
@@ -87,7 +87,6 @@ class InstallControllerHttpSystem extends InstallControllerHttp
'system' => $this->l('Cannot create new files and folders'), 'system' => $this->l('Cannot create new files and folders'),
'gd' => $this->l('GD Library is not installed'), 'gd' => $this->l('GD Library is not installed'),
'mysql_support' => $this->l('MySQL support is not activated'), 'mysql_support' => $this->l('MySQL support is not activated'),
'sessions' => $this->l('Your PHP sessions path is not writable - check with your hosting provider:').' '.$session_path,
) )
), ),
array( array(
@@ -123,6 +122,7 @@ class InstallControllerHttpSystem extends InstallControllerHttp
'magicquotes' => $this->l('PHP magic quotes option is enabled'), 'magicquotes' => $this->l('PHP magic quotes option is enabled'),
'dom' => $this->l('Dom extension is not loaded'), 'dom' => $this->l('Dom extension is not loaded'),
'pdo_mysql' => $this->l('PDO MySQL extension is not loaded'), 'pdo_mysql' => $this->l('PDO MySQL extension is not loaded'),
'sessions' => $this->l('Your PHP sessions path is not writable - check with your hosting provider:').' '.$session_path,
) )
), ),
), ),
@@ -139,5 +139,4 @@ class InstallControllerHttpSystem extends InstallControllerHttp
$this->displayTemplate('system'); $this->displayTemplate('system');
} }
} }