Prepare new version
This commit is contained in:
parent
32f3684043
commit
8f80249655
@ -22,7 +22,7 @@
|
|||||||
* \file htdocs/install/check.php
|
* \file htdocs/install/check.php
|
||||||
* \ingroup install
|
* \ingroup install
|
||||||
* \brief Test if file conf can be modified and if does not exists, test if install process can create it
|
* \brief Test if file conf can be modified and if does not exists, test if install process can create it
|
||||||
* \version $Id: check.php,v 1.87 2011/07/31 23:26:19 eldy Exp $
|
* \version $Id: check.php,v 1.88 2011/08/11 20:59:32 eldy Exp $
|
||||||
*/
|
*/
|
||||||
include_once("./inc.php");
|
include_once("./inc.php");
|
||||||
|
|
||||||
@ -66,12 +66,12 @@ print '<b>'.$langs->trans("MiscellanousChecks")."</b>:<br>\n";
|
|||||||
|
|
||||||
|
|
||||||
// Check PHP version
|
// Check PHP version
|
||||||
if (versioncompare(versionphparray(),array(4,3,10)) < 0) // Minimum to try (error if lower)
|
if (versioncompare(versionphparray(),array(4,3,10)) < 0) // Minimum to use (error if lower)
|
||||||
{
|
{
|
||||||
print '<img src="../theme/eldy/img/error.png" alt="Error"> '.$langs->trans("ErrorPHPVersionTooLow",'4.3.10');
|
print '<img src="../theme/eldy/img/error.png" alt="Error"> '.$langs->trans("ErrorPHPVersionTooLow",'4.3.10');
|
||||||
$checksok=0;
|
$checksok=0;
|
||||||
}
|
}
|
||||||
else if (versioncompare(versionphparray(),array(5,0,0)) < 0) // Minimum supported (warning if lower)
|
else if (versioncompare(versionphparray(),array(5,2,0)) < 0) // Minimum supported (warning if lower)
|
||||||
{
|
{
|
||||||
print '<img src="../theme/eldy/img/warning.png" alt="Error"> '.$langs->trans("WarningPHPVersionTooLow",'5.0.0');
|
print '<img src="../theme/eldy/img/warning.png" alt="Error"> '.$langs->trans("WarningPHPVersionTooLow",'5.0.0');
|
||||||
$checksok=0;
|
$checksok=0;
|
||||||
@ -378,7 +378,8 @@ else
|
|||||||
array('from'=>'2.7.0', 'to'=>'2.8.0'),
|
array('from'=>'2.7.0', 'to'=>'2.8.0'),
|
||||||
array('from'=>'2.8.0', 'to'=>'2.9.0'),
|
array('from'=>'2.8.0', 'to'=>'2.9.0'),
|
||||||
array('from'=>'2.9.0', 'to'=>'3.0.0'),
|
array('from'=>'2.9.0', 'to'=>'3.0.0'),
|
||||||
array('from'=>'3.0.0', 'to'=>'3.1.0')
|
array('from'=>'3.0.0', 'to'=>'3.1.0'),
|
||||||
|
array('from'=>'3.1.0', 'to'=>'3.2.0')
|
||||||
);
|
);
|
||||||
|
|
||||||
$count=0;
|
$count=0;
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file htdocs/install/upgrade2.php
|
* \file htdocs/install/upgrade2.php
|
||||||
* \brief Upgrade some data
|
* \brief Upgrade some data
|
||||||
* \version $Id: upgrade2.php,v 1.188 2011/08/11 16:22:34 eldy Exp $
|
* \version $Id: upgrade2.php,v 1.189 2011/08/11 21:03:42 eldy Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once('./inc.php');
|
include_once('./inc.php');
|
||||||
@ -286,8 +286,6 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action')))
|
|||||||
|
|
||||||
// Reload menus
|
// Reload menus
|
||||||
migrate_reload_menu($db,$langs,$conf,$versionto);
|
migrate_reload_menu($db,$langs,$conf,$versionto);
|
||||||
|
|
||||||
print '<tr><td colspan="4"><br>'.$langs->trans("MigrationFinished").'</td></tr>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Script for VX (X<3.1) -> V3.1
|
// Script for VX (X<3.1) -> V3.1
|
||||||
@ -304,10 +302,23 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action')))
|
|||||||
|
|
||||||
// Reload menus
|
// Reload menus
|
||||||
migrate_reload_menu($db,$langs,$conf,$versionto);
|
migrate_reload_menu($db,$langs,$conf,$versionto);
|
||||||
|
|
||||||
print '<tr><td colspan="4"><br>'.$langs->trans("MigrationFinished").'</td></tr>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Script for VX (X<3.2) -> V3.2
|
||||||
|
$afterversionarray=explode('.','3.1.9');
|
||||||
|
$beforeversionarray=explode('.','3.2.9');
|
||||||
|
if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0)
|
||||||
|
{
|
||||||
|
// Reload modules
|
||||||
|
migrate_reload_modules($db,$langs,$conf);
|
||||||
|
|
||||||
|
// Reload menus
|
||||||
|
migrate_reload_menu($db,$langs,$conf,$versionto);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
print '<tr><td colspan="4"><br>'.$langs->trans("MigrationFinished").'</td></tr>';
|
||||||
|
|
||||||
// On commit dans tous les cas.
|
// On commit dans tous les cas.
|
||||||
// La procedure etant concue pour pouvoir passer plusieurs fois quelquesoit la situation.
|
// La procedure etant concue pour pouvoir passer plusieurs fois quelquesoit la situation.
|
||||||
$db->commit();
|
$db->commit();
|
||||||
|
|||||||
@ -259,7 +259,7 @@ ThisIsProcessToFollow=This is setup to process:
|
|||||||
StepNb=Step %s
|
StepNb=Step %s
|
||||||
FindPackageFromWebSite=Find a package that provides feature you want (for example on official web site %s).
|
FindPackageFromWebSite=Find a package that provides feature you want (for example on official web site %s).
|
||||||
DownloadPackageFromWebSite=Download package.
|
DownloadPackageFromWebSite=Download package.
|
||||||
UnpackPackageInDolibarrRoot=Unpack package file into Dolibarr's root directory <b>%s</b>
|
UnpackPackageInDolibarrRoot=Unpack package file into Dolibarr's document directory <b>%s</b>
|
||||||
SetupIsReadyForUse=Install is finished and Dolibarr is ready to use with this new component.
|
SetupIsReadyForUse=Install is finished and Dolibarr is ready to use with this new component.
|
||||||
CurrentVersion=Dolibarr current version
|
CurrentVersion=Dolibarr current version
|
||||||
CallUpdatePage=Go to the page that updates the database structure and datas: %s.
|
CallUpdatePage=Go to the page that updates the database structure and datas: %s.
|
||||||
|
|||||||
@ -96,7 +96,7 @@ DirectoryRecommendation=It is recommanded to use a directory outside of your dir
|
|||||||
LoginAlreadyExists=Already exists
|
LoginAlreadyExists=Already exists
|
||||||
DolibarrAdminLogin=Dolibarr admin login
|
DolibarrAdminLogin=Dolibarr admin login
|
||||||
AdminLoginAlreadyExists=Dolibarr administrator account '<b>%s</b>' already exists. Go back, if you want to create another one.
|
AdminLoginAlreadyExists=Dolibarr administrator account '<b>%s</b>' already exists. Go back, if you want to create another one.
|
||||||
WarningRemoveInstallDir=Warning, for security reasons, once the install or upgrade is complete, you should remove the <b>install<b> directory or add a file called <b>install.lock</b> into Dolibarr root directory, in order to avoid malicious use of it.
|
WarningRemoveInstallDir=Warning, for security reasons, once the install or upgrade is complete, you should remove the <b>install<b> directory or add a file called <b>install.lock</b> into Dolibarr document directory, in order to avoid malicious use of it.
|
||||||
ThisPHPDoesNotSupportTypeBase=This PHP system does not support any interface to access database type %s
|
ThisPHPDoesNotSupportTypeBase=This PHP system does not support any interface to access database type %s
|
||||||
FunctionNotAvailableInThisPHP=Not available on this PHP
|
FunctionNotAvailableInThisPHP=Not available on this PHP
|
||||||
MigrateScript=Migration script
|
MigrateScript=Migration script
|
||||||
|
|||||||
@ -260,7 +260,7 @@ ThisIsProcessToFollow= Voici la procédure à suivre:
|
|||||||
StepNb= Etape %s
|
StepNb= Etape %s
|
||||||
FindPackageFromWebSite=Recherche le package qui répond à votre besoin (par exemple sur le site web %s).
|
FindPackageFromWebSite=Recherche le package qui répond à votre besoin (par exemple sur le site web %s).
|
||||||
DownloadPackageFromWebSite= Télécharger le package.
|
DownloadPackageFromWebSite= Télécharger le package.
|
||||||
UnpackPackageInDolibarrRoot= Décompresser le package dans le répertoire racine de Dolibarr <b>%s</b> par dessus les fichiers existants (sans déplacer ou effacer cet existant sous peine de perdre sa configuration ou les modules non officiels installés)
|
UnpackPackageInDolibarrRoot= Décompresser le package dans le répertoire document de Dolibarr <b>%s</b> par dessus les fichiers existants (sans déplacer ou effacer cet existant sous peine de perdre sa configuration ou les modules non officiels installés)
|
||||||
SetupIsReadyForUse= L'installation est terminée et Dolibarr est prêt à être utilisé avec le nouveau composant.
|
SetupIsReadyForUse= L'installation est terminée et Dolibarr est prêt à être utilisé avec le nouveau composant.
|
||||||
CurrentVersion= Version en cours de Dolibarr
|
CurrentVersion= Version en cours de Dolibarr
|
||||||
CallUpdatePage= Appeler la page de l'outil de mise à jour de la structure et données de la base: %s.
|
CallUpdatePage= Appeler la page de l'outil de mise à jour de la structure et données de la base: %s.
|
||||||
|
|||||||
@ -97,7 +97,7 @@ LoginAlreadyExists=Existe déjà
|
|||||||
DolibarrAdminLogin=Login de l'utilisateur administrateur de Dolibarr
|
DolibarrAdminLogin=Login de l'utilisateur administrateur de Dolibarr
|
||||||
FailedToCreateAdminLogin=Echec de la création du compte administrateur Dolibarr.
|
FailedToCreateAdminLogin=Echec de la création du compte administrateur Dolibarr.
|
||||||
AdminLoginAlreadyExists=Compte administrateur Dolibarr '<b>%s</b>' déjà existant. Revenez en arrière si vous voulez en créer un autre.
|
AdminLoginAlreadyExists=Compte administrateur Dolibarr '<b>%s</b>' déjà existant. Revenez en arrière si vous voulez en créer un autre.
|
||||||
WarningRemoveInstallDir=Attention, pour des raisons de sécurité, une fois l'installation terminée, il est conseillé de supprimer manuellement le répertoire <b>install</b>, ou de placer dans le répertoire racine de Dolibarr un fichier nommé <b>install.lock</b> en lecture seule.
|
WarningRemoveInstallDir=Attention, pour des raisons de sécurité, une fois l'installation terminée, il est conseillé de supprimer manuellement le répertoire <b>install</b>, ou de placer dans le répertoire document de Dolibarr un fichier nommé <b>install.lock</b> en lecture seule.
|
||||||
ThisPHPDoesNotSupportTypeBase=Le système PHP ne supporte pas les interfaces d'accès pour les bases %s
|
ThisPHPDoesNotSupportTypeBase=Le système PHP ne supporte pas les interfaces d'accès pour les bases %s
|
||||||
FunctionNotAvailableInThisPHP=Non disponible sur ce PHP
|
FunctionNotAvailableInThisPHP=Non disponible sur ce PHP
|
||||||
MigrateScript=Script de migration
|
MigrateScript=Script de migration
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user