dev-master
9999999-devSQLite drop-in database driver for WordPress
GPL-2.0+
The Requires
by Evan Mattson
Wallogit.com
2017 © Pedro Peláez
SQLite drop-in database driver for WordPress
A single file drop-in for using a SQLite database with WordPress. Based on the original SQLite Integration plugin., (*2)
src/db.php into the root of your site's wp-content directorycomposer require koodimonni/composer-dropin-installercomposer.json under the extra key "extra": {
"dropin-paths": {
"wp-content/": ["package:aaemnnosttv/wp-sqlite-db:src/db.php"]
}
}
composer require aaemnnosttv/wp-sqlite-dbOnce the drop-in is installed, no other configuration is necessary, but some things are configurable., (*3)
By default, the SQLite database is located in wp-content/database/.ht.sqlite, but you can change this using a few constants., (*4)
define('DB_DIR', '/absolute/custom/path/to/directory/for/sqlite/database/file/');
define('DB_FILE', 'custom_filename_for_sqlite_database');
This project is based on the SQLite Integration plugin by Kojima Toshiyasu., (*5)
SQLite drop-in database driver for WordPress
GPL-2.0+