From d95cc2db8695360b917c7005bdce4cd3a996c354 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 11 Sep 2007 19:53:10 +0000 Subject: [PATCH] Fix: nettoyage du code --- htdocs/lib/functions.inc.php | 16 ++++------------ htdocs/main.inc.php | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 85063e6557a..d6c38419fda 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -1322,18 +1322,10 @@ function dol_loginfunction($notused,$pearstatus) print ''; // Start Form -/* if ($conf->global->MAIN_SECURITY_ENABLECAPTCHA) - { - print '
'; - } - else - { - */ - print ''; -// } + print ''; // Table 1 print ''; diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index f122f72ed28..f2fae0c320b 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -215,7 +215,7 @@ if (! session_id() || ! isset($_SESSION["dol_login"])) } // MODE DOLIBARR MDB2 - // Ajout du mode MDB2 pour test uniquement + //Todo: voir pour l'utiliser par défaut if (in_array('dolibarr_mdb2',$authmode) && ! $login) { require_once(PEAR_PATH."/Auth/Auth.php");