remove debug info

This commit is contained in:
sparkyx 2007-11-01 17:52:39 +00:00
parent 6b8a0ebd5f
commit e8cef6aca7

View file

@ -61,16 +61,16 @@ if ( isset ($_POST["DATABASE"]) ) {
domaine,
$_POST["FMOD_ID"]);
echo_debug("[".$Sql."]");
// ob_start();
ob_start();
if ( pg_query($cn,$Sql)==false) {
echo "[".$Sql."]";
// ob_clean();
ob_clean();
ExecSql($cn,"delete from ac_dossier where dos_id=$l_id");
echo "<h2 class=\"error\"> Base de donnée ".domaine."mod".$_POST['FMOD_ID']." est accèdée, déconnectez-vous d'abord</h2>";
exit;
}
// ob_flush();
ob_flush();
$Res=ExecSql($cn,"insert into jnt_use_dos (use_id,dos_id) values (1,$l_id)");
// Connect to the new database
$cn=DbConnect($l_id);