Suppression du mode debug provisoire
This commit is contained in:
parent
50c5fa2034
commit
9715f84e1f
@ -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";
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user