Пример #1
0
 public function do_login()
 {
     $admin = new AdminUser();
     $admin->setArray($_POST);
     if ($admin->autenticate()) {
         Session::start($admin);
         header("Location: ?ID=packs");
     } else {
         header("Location: ?ID=login");
     }
 }