aaemnnosttv/wp-sqlite-db 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aaemnnosttv/wp-sqlite-db

最新稳定版本:v1.3.2

Composer 安装命令:

composer require aaemnnosttv/wp-sqlite-db

包简介

SQLite drop-in database driver for WordPress

README 文档

README

Test Packagist Packagist

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.php into the root of your site's wp-content directory

Via Composer

  • composer require koodimonni/composer-dropin-installer
  • Add the configuration to your project's composer.json under the extra key
"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.

统计信息

  • 总下载量: 61.19k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 582
  • 点击次数: 1
  • 依赖项目数: 5
  • 推荐数: 1

GitHub 信息

  • Stars: 582
  • Watchers: 18
  • Forks: 91
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2018-06-17