Skip to content
Snippets Groups Projects
Commit c85780c4 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Variable MAIN_DEBUG remplace par module Syslog

parent 013eb704
No related branches found
No related tags found
No related merge requests found
...@@ -311,11 +311,9 @@ if ($_POST["action"] == 'confirm_add_glasnost' && $_POST["confirm"] == 'yes') ...@@ -311,11 +311,9 @@ if ($_POST["action"] == 'confirm_add_glasnost' && $_POST["confirm"] == 'yes')
if (!$adh->add_to_glasnost()){ if (!$adh->add_to_glasnost()){
$errmsg.="Echec du rajout de l'utilisateur dans glasnost: ".$adh->errostr."<BR>\n"; $errmsg.="Echec du rajout de l'utilisateur dans glasnost: ".$adh->errostr."<BR>\n";
} }
if(defined('MAIN_DEBUG') && MAIN_DEBUG == 1){
XMLRPC_debug_print(); XMLRPC_debug_print();
} }
} }
}
if ($_POST["action"] == 'confirm_del_glasnost' && $_POST["confirm"] == 'yes') if ($_POST["action"] == 'confirm_del_glasnost' && $_POST["confirm"] == 'yes')
{ {
...@@ -328,11 +326,9 @@ if ($_POST["action"] == 'confirm_del_glasnost' && $_POST["confirm"] == 'yes') ...@@ -328,11 +326,9 @@ if ($_POST["action"] == 'confirm_del_glasnost' && $_POST["confirm"] == 'yes')
if(!$adh->del_to_glasnost()){ if(!$adh->del_to_glasnost()){
$errmsg.="Echec de la suppression de l'utilisateur dans glasnost: ".$adh->errostr."<BR>\n"; $errmsg.="Echec de la suppression de l'utilisateur dans glasnost: ".$adh->errostr."<BR>\n";
} }
if(defined('MAIN_DEBUG') && MAIN_DEBUG == 1){
XMLRPC_debug_print(); XMLRPC_debug_print();
} }
} }
}
if ($_POST["action"] == 'confirm_del_spip' && $_POST["confirm"] == 'yes') if ($_POST["action"] == 'confirm_del_spip' && $_POST["confirm"] == 'yes')
{ {
......
...@@ -53,7 +53,6 @@ insert into llx_const (name, value, type, note, visible) values ('MAIN_NOT_INSTA ...@@ -53,7 +53,6 @@ insert into llx_const (name, value, type, note, visible) values ('MAIN_NOT_INSTA
insert into llx_const (name, value, type, note, visible) values ('MAIN_MAIL_FROM','dolibarr-robot@domain.com','chaine','EMail emetteur pour les notifications automatiques Dolibarr',1); insert into llx_const (name, value, type, note, visible) values ('MAIN_MAIL_FROM','dolibarr-robot@domain.com','chaine','EMail emetteur pour les notifications automatiques Dolibarr',1);
insert into llx_const (name, value, type, note, visible) values ('MAIN_TITLE','Dolibarr','chaine','Titre des pages',1); insert into llx_const (name, value, type, note, visible) values ('MAIN_TITLE','Dolibarr','chaine','Titre des pages',1);
insert into llx_const (name, value, type, note, visible) values ('MAIN_DEBUG','0','yesno','Mode debug actif ou non',1);
insert into llx_const (name, value, type, note, visible) values ('COMPTA_ONLINE_PAYMENT_BPLC','1','yesno','Système de gestion de la banque populaire de Lorraine',0); insert into llx_const (name, value, type, note, visible) values ('COMPTA_ONLINE_PAYMENT_BPLC','1','yesno','Système de gestion de la banque populaire de Lorraine',0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment