Ejemplo n.º 1
0
 public function debug_no_log($texto, $tipo_log = 1)
 {
     $log_o = new logModel();
     $log_o->logPadrao($texto, $tipo_log);
 }
Ejemplo n.º 2
0
 public function sessao_expirada()
 {
     //Log
     $log_o = new logModel();
     $log_o->logPadrao('sessao expirada após ' . round(TEMPO_LIMITE / 60, 1) . ' minutos ', 1);
     $_SESSION['user'] = null;
     session_destroy();
     //$this->template->run();
     //$this->smarty->display('/index.html');
     header('Location: /index.html');
     // die('chegou');
     exit;
 }
Ejemplo n.º 3
0
 public function debug_no_log($texto)
 {
     $log_o = new logModel();
     $log_o->logPadrao($texto, 1);
 }