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