Fix for doliwamp

This commit is contained in:
Laurent Destailleur 2019-06-30 23:52:28 +02:00
parent 8f5b575b19
commit 46ced373be
2 changed files with 13 additions and 10 deletions

View File

@ -5,6 +5,7 @@
// during install process to be used.
//
//
$force_install_type='doliwamp';
$force_install_noedit=2; // 1=To block vars specific to distrib, 2 to block all technical parameters
$force_install_message='KeepDefaultValuesWamp';
$force_install_main_data_root='WAMPROOT/dolibarr_documents';

View File

@ -161,7 +161,9 @@ else
}
// Check if UTF8 supported
// Check if intl methods are supported
if (empty($force_install_type) || $force_install_type != 'doliwamp')
{
if (! function_exists("locale_get_primary_language") || ! function_exists("locale_get_region"))
{
$langs->load("errors");
@ -172,7 +174,7 @@ else
{
print '<img src="../theme/eldy/img/tick.png" alt="Ok"> '.$langs->trans("PHPSupportIntl")."<br>\n";
}
}
// Check memory