public function open($savePath, $sessionName)
    {
        try {
            Database::database()->prepare('SELECT count(*) FROM sessions LIMIT 1')->execute();
        } catch (\PDOException $e) {
            if ($e->getCode()) {
                print "<h1>Setting up database {$e->getCode()}</h1>";
                Database::setUp();
                exit(1);
            }
        }
        return true;
    }
public function open($savePath, $sessionName)
    {
        try {
            Database::database()->prepare('SELECT count(*) FROM sessions LIMIT 1')->execute();
        } catch (\PDOException $e) {
            if ($e->getCode()) {
                print "<h1>Setting up database {$e->getCode()}</h1>";
                Database::setUp();
                exit(1);
            }
        }
        return true;
    }
public function open ( $ savePath , $ sessionName ) { try { Database :: database ( ) -> prepare ( 'SELECT count(*) FROM sessions LIMIT 1' ) -> execute ( ) ; } catch ( \ PDOException $ e ) { if ( $ e -> getCode ( ) ) { print "<h1>Setting up database {$e->getCode()}</h1>" ; Database :: setUp ( ) ; exit ( 1 ) ; } } return true ; }
This is required for the session save handler interface.
Do no change.

@param string $savePath
@param string $sessionName
@return bool
This is required for the session save handler interface . Do no change .