/[openfoncier]/trunk/services/outgoing/messageenqueuer.php
ViewVC logotype

Diff of /trunk/services/outgoing/messageenqueuer.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 829 by mlimic, Mon Nov 26 10:30:31 2012 UTC revision 830 by mlimic, Mon Nov 26 13:31:16 2012 UTC
# Line 42  class MessageEnqueuer { Line 42  class MessageEnqueuer {
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;
# Line 52  class MessageEnqueuer { Line 54  class MessageEnqueuer {
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            

Legend:
Removed from v.829  
changed lines
  Added in v.830

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26