Commit e401ef1
authored
Require
Require `DB_NAME` to be set only in the new driver.
As reported in
#194 (comment):
> I have this plugin on a site, and the Plugins admin page offered me
the upgrade. I upgraded, and it broke the site, due to previously I did
not have define( 'DB_NAME', '...' ); in wp-config.php.
The error message was:
> Error: Undefined constant "DB_NAME" in
.../wp-content/plugins/sqlite-database-integration/wp-includes/sqlite/db.php
on line 69DB_NAME to be set only in the new driver (#197)2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
310 | 318 | | |
311 | 319 | | |
312 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
0 commit comments