mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1483 [install] cleanly alert user of PHP required version
This commit is contained in:
@@ -239,7 +239,8 @@ header('Content-Type: text/html; charset=UTF-8');
|
||||
//------------------------------------------------- check php version
|
||||
if (version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '<'))
|
||||
{
|
||||
include(PHPWG_ROOT_PATH.'install/php5_apache_configuration.php');
|
||||
// include(PHPWG_ROOT_PATH.'install/php5_apache_configuration.php'); // to remove, with all its related content
|
||||
$errors[] = l10n('PHP version %s required (you are running on PHP %s)', REQUIRED_PHP_VERSION, PHP_VERSION);
|
||||
}
|
||||
|
||||
//----------------------------------------------------- template initialization
|
||||
|
||||
@@ -33,6 +33,7 @@ $lang['verification'] = "verification";
|
||||
$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = 'Need help? Ask your question on the <a href="%s">Piwigo message board</a>.';
|
||||
$lang['Visitors will be able to contact site administrator with this mail'] = 'Visitors will be able to use this email to contact the site administrator';
|
||||
$lang['PHP 5 is required'] = 'PHP 5.3 is required';
|
||||
$lang['PHP version %s required (you are running on PHP %s)'] = 'PHP version %s required (you are running on PHP %s)';
|
||||
$lang['It appears your webhost is currently running PHP %s.'] = "It appears your webhost is currently running PHP %s.";
|
||||
$lang['Piwigo may try to switch your configuration to PHP 5 by creating or modifying a .htaccess file.'] = 'Piwigo may try to switch your configuration to PHP 5.3 by creating or modifying a .htaccess file.';
|
||||
$lang['Note you can change your configuration by yourself and restart Piwigo after that.'] = 'Note you can change your configuration by yourself and then restart Piwigo.';
|
||||
|
||||
@@ -33,6 +33,7 @@ $lang['verification'] = "vérification";
|
||||
$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = "Besoin d'aide ? Posez votre question sur le <a href=\"%s\">forum de Piwigo</a>.";
|
||||
$lang['Visitors will be able to contact site administrator with this mail'] = "Les visiteurs pourront contacter l'administrateur du site par ce mail";
|
||||
$lang['PHP 5 is required'] = 'PHP 5.2 est requis';
|
||||
$lang['PHP version %s required (you are running on PHP %s)'] = 'Piwigo requiert PHP en version %s (ce serveur tourne sur PHP %s)';
|
||||
$lang['It appears your webhost is currently running PHP %s.'] = "Apparemment, la version PHP de votre hébergeur est PHP %s.";
|
||||
$lang['Piwigo may try to switch your configuration to PHP 5 by creating or modifying a .htaccess file.'] = 'Piwigo va essayer de passer en PHP 5.2 en créant ou modifiant le fichier .htaccess.';
|
||||
$lang['Note you can change your configuration by yourself and restart Piwigo after that.'] = "Notez que vous pouvez modifier vous-même la configuration PHP et re-lancer Piwigo ensuite.";
|
||||
|
||||
Reference in New Issue
Block a user