项目
在 GitHub 查看
aaemnnosttv/wp-sqlite-db
关于
用于让 WordPress 使用 SQLite 数据库的单文件即插即用组件。基于原始 SQLite Integration 插件。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文wp-sqlite-db
A single file drop-in for using a SQLite database with WordPress. Based on the original SQLite Integration plugin.
Installation
Quick Start
- Clone or download this repository
- Copy
src/db.phpinto the root of your site'swp-contentdirectory
Via Composer
composer require koodimonni/composer-dropin-installer- Add the configuration to your project's
composer.jsonunder theextrakey
"extra": {
"dropin-paths": {
"wp-content/": ["package:aaemnnosttv/wp-sqlite-db:src/db.php"]
}
}
composer require aaemnnosttv/wp-sqlite-db
Overview
Once the drop-in is installed, no other configuration is necessary, but some things are configurable.
By default, the SQLite database is located in wp-content/database/.ht.sqlite, but you can change this using a few constants.
define('DB_DIR', '/absolute/custom/path/to/directory/for/sqlite/database/file/');
define('DB_FILE', 'custom_filename_for_sqlite_database');
Credit
This project is based on the SQLite Integration plugin by Kojima Toshiyasu.
探索相关项目
加载中…