Esempio n. 1
0
 public function logout($redirect = NULL)
 {
     if ($redirect === NULL) {
         unsetSessions();
     } else {
         unsetSessions($redirect);
     }
 }
Esempio n. 2
0
 public function logout()
 {
     if (segment(3)) {
         unsetSessions(path(segment(3)));
     } else {
         unsetSessions();
     }
 }
Esempio n. 3
0
 public function logout()
 {
     unsetSessions("cpanel");
 }