public function logoutAction() { $model = new UserTableModel(); $model->logout(); header('Location: ' . '/'); exit; }
public function logoutAction() { $fc = FrontController::getInstance(); $model = new UserTableModel(); $model->logout(); header('Location: /admin/login'); exit; }