Beispiel #1
0
 function __construct()
 {
     parent::__construct();
     $this->loadLib('session');
     if ($this->session->getData('login')) {
         header('Location: home');
     }
 }
Beispiel #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;
 }
Beispiel #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'];
     }
 }
Beispiel #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'];
     }
 }
Beispiel #6
0
 function __construct()
 {
     parent::__construct();
 }
Beispiel #7
0
 function __construct()
 {
     parent::__construct();
     $this->loadModel('modelLink', 'modelLink');
 }
 function __construct()
 {
     parent::__construct();
     $this->loadLib('session');
     $this->loadModel('modelLog', 'modelLog');
 }