function __construct() { $this->database = Database::set_type('mysql'); $this->database->connect('localhost', 'root', '11913781'); $this->session = new Session($this->database); }