プロジェクト
GitHubで見る
aaemnnosttv/wp-sqlite-db
概要
WordPressでSQLiteデータベースを使うための、単一ファイルで導入できるコンポーネントです。元のSQLite Integrationプラグインをベースにしています。
Web・アプリ開発計測したスター増加
- 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.
関連プロジェクトを探す
読み込み中…