Projetos
Ver no GitHub
aaemnnosttv/wp-sqlite-db
Sobre
Um drop-in de arquivo único para usar um banco de dados SQLite com o WordPress. Baseado no plugin original SQLite Integration.
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- -1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalwp-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.
Explore projetos relacionados
Carregando…