This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • [snipped]autologin

      when loading index.php, this snipped is looking for a valid session, and if there is one it redirects to game.php.

      insert into index.php line 26

      PHP Source Code

      1. if (Session::load()->isValidSession()) {
      2. HTTP::sendHeader('Location', "game.php");
      3. exit;
      4. }

      and insert into includes\classes\Session.class.php on line 188(in if (empty($this->data['userId'])) {)

      PHP Source Code

      1. return;

      so if there is a active session this snipped logs in automaticly.