private function connect() { if (self::$conn) { return true; } self::$conn = new PDO('sqlite:' . DIR_DATA . '/data.db'); }