2
0
forked from Wavyzz/dolibarr

Fix for doliwamp

This commit is contained in:
Laurent Destailleur
2019-07-01 00:22:28 +02:00
parent 46ced373be
commit a8edc85a42
2 changed files with 2 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ Require local
# e-mailed. This address appears on some server-generated pages, such # e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com # as error documents. e.g. admin@your-domain.com
# #
ServerAdmin webmaster@localhost ServerAdmin doliwamp@localhost
# #
# ServerName gives the name and port that the server uses to identify itself. # ServerName gives the name and port that the server uses to identify itself.

View File

@@ -162,7 +162,7 @@ else
// Check if intl methods are supported // Check if intl methods are supported
if (empty($force_install_type) || $force_install_type != 'doliwamp') if (empty($_SERVER["SERVER_ADMIN"]) || $_SERVER["SERVER_ADMIN"] != 'doliwamp@localhost')
{ {
if (! function_exists("locale_get_primary_language") || ! function_exists("locale_get_region")) if (! function_exists("locale_get_primary_language") || ! function_exists("locale_get_region"))
{ {