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