jelix/legacy-db-plugins

Jelix 的旧版数据库插件

安装: 4

依赖: 0

建议者: 0

安全性: 0

星星: 0

观察者: 3

分支: 0

开放问题: 0

类型:jelix-module

v1.7.0 2015-05-28 08:25 UTC

This package is auto-updated.

Last update: 2024-08-29 04:03:24 UTC


README

这些是 jDb 的插件,jDb 是 Jelix 的数据库抽象层。

这些插件是已弃用的插件,因为它们使用了已弃用的 PHP API。自 Jelix 1.7 以来,它们不再捆绑在 Jelix 中,并且需要 Jelix 1.7 才能工作。

可用插件

  • sqlite(用于 sqlite 2.0,使用已弃用的 sqlite_* php 函数)
  • mysql(使用已弃用的 mysql_* php 函数)

要安装它们

  • 使用 Composer(jelix/legacy-db-plugins)

  • 或从您下载的存档中提取它们,并在您的 application.init.php 中将 legacy-db-plugin 声明为插件目录

    jApp::declarePluginsDir(__DIR__.'/../path/to/legacy-db-plugin');

然后您可以在 profils.ini.php 文件中将 "sqlite" 或 "mysql" 作为 'driver' 指定。