mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
validate contact
This commit is contained in:
parent
46ebd39c04
commit
4050dce290
3 changed files with 7 additions and 7 deletions
|
@ -23,8 +23,10 @@ class Console extends \descartes\InternalController
|
|||
|
||||
private $internal_event;
|
||||
|
||||
public function __construct(\PDO $bdd)
|
||||
public function __construct()
|
||||
{
|
||||
$bdd = descartes\Model::connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD);
|
||||
|
||||
$this->model_command = new \models\Command($bdd);
|
||||
$this->model_database = new \models\DataBase($bdd);
|
||||
$this->model_sended = new \models\Sended($bdd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue