Suppression du mode debug provisoire

This commit is contained in:
Regis Houssin 2007-11-13 10:54:27 +00:00
parent 50c5fa2034
commit 9715f84e1f
2 changed files with 0 additions and 16 deletions

View File

@ -347,10 +347,6 @@ class Conf
// Cryped password in database
$this->password_encrypted=($this->global->DATABASE_PWD_ENCRYPTED ? 1 : 0);
// Debug Mode
$this->use_debug_mode=0;
if (isset($this->global->MAIN_ENABLE_DEBUG_MODE)) $this->use_debug_mode=$this->global->MAIN_ENABLE_DEBUG_MODE;
// System tools
if (! $this->global->SYSTEMTOOLS_MYSQLDUMP) $this->global->SYSTEMTOOLS_MYSQLDUMP="mysqldump";

View File

@ -457,18 +457,6 @@ elseif ($_GET["id"] > 0)
}
$fichinter->fetch_client();
// Debug mode
// TODO: créer une fonction debug générique
if ($conf->use_debug_mode)
{
$debug = '<div class="error">';
$debug.= 'Mode Debugage<br>';
$debug.= 'Module intervention: lire='.yn($user->rights->ficheinter->lire).', creer='.yn($user->rights->ficheinter->creer);
$debug.= ', supprimer='.yn($user->rights->ficheinter->supprimer);
$debug.= '</div>';
print $debug;
}
if ($mesg) print $mesg."<br>";
$head = fichinter_prepare_head($fichinter);