conn === null ) { if ( self::$pdo === null ) { $this->dbPath = dirname( __FILE__ ) . '/../db.sqlite'; self::$pdo = new \PDO( "sqlite:{$this->dbPath}" ); } $this->conn = $this->createDefaultDBConnection( self::$pdo, $this->dbPath ); } return $this->conn; } } ?>