42 |
|
|
43 |
|
|
44 |
public function __construct() { |
public function __construct() { |
45 |
|
include_once('../../dyn/services.inc.php'); |
46 |
|
session_start(); |
47 |
$this->ret_array = array(); |
$this->ret_array = array(); |
48 |
$this->ret_array['date'] = date('d/m/Y H:i'); |
$this->ret_array['date'] = date('d/m/Y H:i'); |
49 |
$this->ret_array['emetteur'] = 'admin'; //$_SESSION['login']; |
$this->ret_array['emetteur'] = $_SESSION['login']; |
50 |
$this->dossier_instruction = null; |
$this->dossier_instruction = null; |
51 |
$this->competence = null; |
$this->competence = null; |
52 |
$this->contrainte_plu = null; |
$this->contrainte_plu = null; |
54 |
$this->decision = null; |
$this->decision = null; |
55 |
|
|
56 |
// les donnees de la connexion |
// les donnees de la connexion |
57 |
$this->queue = 'ERP_CHANNEL'; |
$this->queue = $ERP_QUEUE; |
58 |
$this->host = 'localhost'; |
$this->host = $ERP_CONNECTION_HOST; |
59 |
$this->port = '5672'; |
$this->port = $ERP_CONNECTIOn_PORT; |
60 |
$this->user = 'guest'; |
$this->user = $ERP_CONNECTION_USER; |
61 |
$this->password = 'guest'; |
$this->password = $ERP_CONNECTION_PASSWORD; |
62 |
$this->vhost = '/'; |
$this->vhost = $ERP_CONNECTION_VHOST; |
63 |
} |
} |
64 |
|
|
65 |
|
|