Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->loadLib('session');
     if ($this->session->getData('login')) {
         header('Location: home');
     }
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $this->loadLib('session');
     //if($this->session->getData('login')){
     //	header('Location: dashboard');
     //}
     $this->loadModel('modelLog', 'modelLog');
 }
 function __construct()
 {
     parent::__construct();
     $this->loadLib('session');
     $this->loadLib('DataBase');
     if (!$this->session->getData('login')) {
         header('Location: ' . MODULEDIR . '/login');
     }
     $this->usuario = $this->session->getData('usuario');
     $this->toView['usuario'] = $this->usuario;
 }
Example #4
0
 function __construct()
 {
     parent::__construct();
     $this->loadLib('Ping');
     $this->loadModel('modelLink', 'modelLink');
     $this->loadModel('modelLog', 'modelLog');
     $this->loadLib('session');
     $this->loadLib('Mail');
     $this->Mail->AddAddress('*****@*****.**', 'Helpdesk');
     if (isset($_GET['json'])) {
         $this->json = $_GET['json'];
     }
 }
Example #5
0
 function __construct()
 {
     parent::__construct();
     $this->loadModel('modelLink', 'modelLink');
     $this->loadModel('modelLog', 'modelLog');
     $this->loadLib('session');
     $this->loadLib('Mail');
     $this->Mail->AddAddress('*****@*****.**', 'Helpdesk');
     $this->Mail->AddAddress('*****@*****.**', 'Centro de Serviço Compartilhado');
     //$this->Mail->AddAddress('*****@*****.**', 'Centro de Serviço Compartilhado');
     if (isset($_GET['json'])) {
         $this->json = $_GET['json'];
     }
 }
Example #6
0
 function __construct()
 {
     parent::__construct();
 }
Example #7
0
 function __construct()
 {
     parent::__construct();
     $this->loadModel('modelLink', 'modelLink');
 }
 function __construct()
 {
     parent::__construct();
     $this->loadLib('session');
     $this->loadModel('modelLog', 'modelLog');
 }