Fixed issues with installer. Some config files were not created as expected.
This commit is contained in:
parent
fe8b71f3b2
commit
57e93f440c
@ -46,7 +46,7 @@ if ( !defined('SYSTEM_IN') )
|
||||
* @desc Définit un dialogue sécurisé de toute la plateforme.<br />
|
||||
* Va de paire avec $CONF_AUTH_SECURE
|
||||
*/
|
||||
$GLOBALS['CONF_ALL_SECURE']=false;
|
||||
$GLOBALS['CONF_ALL_SECURE']=true;
|
||||
|
||||
/**
|
||||
* @global tableau $GLOBALS['SYSTEM_CLASS_METHOD_SECURE']
|
||||
|
@ -82,7 +82,7 @@ $GLOBALS['CONF_DEBUGDUMP']=false;
|
||||
* ..<br>
|
||||
* CONF_ERROR_VERBOSELEVEL = 10 -> Toutes les erreurs sont affichées.<br>
|
||||
*/
|
||||
$GLOBALS['CONF_ERROR_VERBOSELEVEL']=0;
|
||||
$GLOBALS['CONF_ERROR_VERBOSELEVEL']=10;
|
||||
|
||||
/**
|
||||
* @global chaine $GLOBALS['CONF_ERROR_LOGLEVEL']
|
||||
@ -90,7 +90,7 @@ $GLOBALS['CONF_ERROR_VERBOSELEVEL']=0;
|
||||
* @desc LOG Définit quelles erreurs seront enregistrées dans le fichier de logs.
|
||||
* Si elle est différente de 0, CONF_ERROR_LOGFILE doit elle aussi être renseignée.
|
||||
*/
|
||||
$GLOBALS['CONF_ERROR_LOGLEVEL']=0;
|
||||
$GLOBALS['CONF_ERROR_LOGLEVEL']=10;
|
||||
|
||||
/**
|
||||
* @global chaine $GLOBALS['CONF_ERROR_LOGFILE']
|
||||
|
@ -675,6 +675,7 @@ function admin($POST="")
|
||||
$User->setLastName($_POST['LastName']);
|
||||
$User->setLogin($_POST['Login']);
|
||||
$User->setMail($_POST['Mail']);
|
||||
$User->SetAccountActive(1);
|
||||
|
||||
$User=$GLOBALS["SYSTEM_MANAGER"]["USER"]->updateInstance($User);
|
||||
|
||||
@ -692,8 +693,8 @@ function admin($POST="")
|
||||
|
||||
if ( updateStringInFile(array(
|
||||
"{_CONF_SECURE_ALL_}"=>"true"),
|
||||
$CONF_LIB_PATH.'config/config.mxconf.php.install',
|
||||
$CONF_LIB_PATH.'config/config.mxconf.php') == false)
|
||||
$CONF_LIB_PATH.'config/config.navigation.php.install',
|
||||
$CONF_LIB_PATH.'config/config.navigation.php') == false)
|
||||
{ redirect("index.php?step=3"); }
|
||||
|
||||
if ( updateStringInFile(array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user