Fix: Forcage du niveau erreur sans E_NOTICE car Dolibarr n'est pas utilisable en mode full E_ERROR (On force donc au niveau par defaut de PHP) .
This commit is contained in:
parent
6460acc2a0
commit
c0205309f2
@ -35,8 +35,11 @@ define('DOL_VERSION','2.0.0-alpha2');
|
|||||||
define_syslog_variables();
|
define_syslog_variables();
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
|
|
||||||
|
// Forcage du paramétrage PHP
|
||||||
ini_set('mbstring.func_overload','0');
|
ini_set('mbstring.func_overload','0');
|
||||||
|
error_reporting(E_ERROR && ! E_NOTICE); // Dolibarr n'est pas utilisable en mode full E_ERROR
|
||||||
|
|
||||||
|
// Test si install ok
|
||||||
if (! @include_once("conf/conf.php"))
|
if (! @include_once("conf/conf.php"))
|
||||||
{
|
{
|
||||||
Header("Location: install/index.php");
|
Header("Location: install/index.php");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user