Check if DB is open

This commit is contained in:
Dany De Bontridder 2016-03-24 22:06:10 +01:00
parent df6f96cf25
commit 0ff17af833

View file

@ -105,6 +105,8 @@ class Database
else
{
echo '<h2 class="error">Erreur de connexion !</h2>';
$this->is_open=false;
return;
}
}
$this->db=$a;