Exemple #1
0
 public function __construct()
 {
     parent::__construct();
     //$this->logger->write('debug', 'HTTP REQUEST: '.print_r($_REQUEST,1));
     // set language (optional)
     $lang = $this->input->post('lang');
     if ($lang !== false) {
         $this->_setLanguage($lang);
         $this->logger->write('debug', 'SET LANGUAGE: ' . print_r($lang, 1));
     }
     // set token
     $token = $this->input->post('token');
     if ($token !== false || $token != '') {
         $this->token = $token;
     }
     // validate input mandatory
     $this->_mandatory(array('client_code', 'app_code'));
     $this->clientcode = $this->input->post('client_code');
     $this->appcode = $this->input->post('app_code');
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->logger->write('debug', 'HTTP REQUEST: ' . print_r($_REQUEST, 1));
 }