Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -65,8 +65,8 @@ |
66 | 66 | |
67 | 67 | $fileName = self::generateFileName( $wgSQLiteDataDir, $dbName ); |
68 | 68 | if ( !is_readable( $fileName ) ) { |
| 69 | + $this->mConn = false; |
69 | 70 | throw new DBConnectionError( $this, "SQLite database not accessible" ); |
70 | | - $this->mConn = false; |
71 | 71 | } |
72 | 72 | $this->openFile( $fileName ); |
73 | 73 | return $this->mConn; |