forked from Wavyzz/dolibarr
Fix for doliwamp
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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"))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user