bugfix release
git-svn-id: https://plugins.svn.wordpress.org/sqlite-integration/trunk@1116219 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
54d9e1b02a
commit
1f2e8fc987
|
@ -1,3 +1,10 @@
|
||||||
|
2015-03-18 KOJIMA Toshiyasu
|
||||||
|
|
||||||
|
* version 1.8.1 bugfix release.
|
||||||
|
|
||||||
|
* pdoengine.class.php: bugfix. database file existent chech doesn't
|
||||||
|
work properly, which causes installation problem.
|
||||||
|
|
||||||
2015-03-06 KOJIMA Toshiyasu
|
2015-03-06 KOJIMA Toshiyasu
|
||||||
|
|
||||||
* version 1.8 release.
|
* version 1.8 release.
|
||||||
|
|
2
db.php
2
db.php
|
@ -5,7 +5,7 @@
|
||||||
* This file must be placed in the directory wordpress/wp-content/db.php.
|
* This file must be placed in the directory wordpress/wp-content/db.php.
|
||||||
* WordPress loads this file automatically.
|
* WordPress loads this file automatically.
|
||||||
*
|
*
|
||||||
* @version 1.8
|
* @version 1.8.1
|
||||||
* @package SQLite Integration
|
* @package SQLite Integration
|
||||||
* @author Kojima Toshiyasu
|
* @author Kojima Toshiyasu
|
||||||
*
|
*
|
||||||
|
|
|
@ -170,7 +170,7 @@ class PDOEngine extends PDO {
|
||||||
*/
|
*/
|
||||||
function __construct() {
|
function __construct() {
|
||||||
register_shutdown_function(array($this, '__destruct'));
|
register_shutdown_function(array($this, '__destruct'));
|
||||||
if (is_file(FQDB)) {
|
if (!is_file(FQDB)) {
|
||||||
$this->prepare_directory();
|
$this->prepare_directory();
|
||||||
}
|
}
|
||||||
$dsn = 'sqlite:' . FQDB;
|
$dsn = 'sqlite:' . FQDB;
|
||||||
|
|
|
@ -7,7 +7,7 @@ Author: Kojima Toshiyasu
|
||||||
Author URI: http://dogwood.skr.jp/
|
Author URI: http://dogwood.skr.jp/
|
||||||
Requires at least: 3.3
|
Requires at least: 3.3
|
||||||
Tested up to: 4.1.1
|
Tested up to: 4.1.1
|
||||||
Stable tag: 1.8
|
Stable tag: 1.8.1
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Author: Kojima Toshiyasu
|
||||||
Author URI: http://dogwood.skr.jp/
|
Author URI: http://dogwood.skr.jp/
|
||||||
Requires at least: 3.3
|
Requires at least: 3.3
|
||||||
Tested up to: 4.1.1
|
Tested up to: 4.1.1
|
||||||
Stable tag: 1.8
|
Stable tag: 1.8.1
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -166,6 +166,8 @@ WordPress 4.1.1 compatibility is checked and some bugs are fixed. Upgrade is rec
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
See also ChangeLog file contained in the archive.
|
||||||
|
|
||||||
= 1.8 (2015-03-06) =
|
= 1.8 (2015-03-06) =
|
||||||
* Fixed the bug about install process algorithm.
|
* Fixed the bug about install process algorithm.
|
||||||
* Fixed the index query regexp, which may cause a problem to some plugins.
|
* Fixed the index query regexp, which may cause a problem to some plugins.
|
||||||
|
|
|
@ -4,7 +4,7 @@ Plugin Name: SQLite Integration
|
||||||
Plugin URI: http://dogwood.skr.jp/wordpress/sqlite-integration/
|
Plugin URI: http://dogwood.skr.jp/wordpress/sqlite-integration/
|
||||||
Description: SQLite Integration is the plugin that enables WordPress to use SQLite. If you don't have MySQL and want to build a WordPress website, it's for you.
|
Description: SQLite Integration is the plugin that enables WordPress to use SQLite. If you don't have MySQL and want to build a WordPress website, it's for you.
|
||||||
Author: Kojima Toshiyasu
|
Author: Kojima Toshiyasu
|
||||||
Version: 1.8
|
Version: 1.8.1
|
||||||
Author URI: http://dogwood.skr.jp
|
Author URI: http://dogwood.skr.jp
|
||||||
Text Domain: sqlite-integration
|
Text Domain: sqlite-integration
|
||||||
Domain Path: /languages
|
Domain Path: /languages
|
||||||
|
@ -44,7 +44,7 @@ $siteurl = get_option('siteurl');
|
||||||
/*
|
/*
|
||||||
* Defines basic constants.
|
* Defines basic constants.
|
||||||
*/
|
*/
|
||||||
define('SQLITE_INTEGRATION_VERSION', '1.8');
|
define('SQLITE_INTEGRATION_VERSION', '1.8.1');
|
||||||
define('SQLiteDir', dirname(plugin_basename(__FILE__)));
|
define('SQLiteDir', dirname(plugin_basename(__FILE__)));
|
||||||
define('SQLiteFilePath', dirname(__FILE__));
|
define('SQLiteFilePath', dirname(__FILE__));
|
||||||
define('SQLiteDirName', basename(SQLiteFilePath));
|
define('SQLiteDirName', basename(SQLiteFilePath));
|
||||||
|
|
|
@ -39,7 +39,7 @@ class SQLiteIntegrationUtils {
|
||||||
return;
|
return;
|
||||||
$notice_string = __('Upgrading Notice: To finish upgrading, please activate SQLite Integration and go Setting >> SQLite Integration >> Miscellaneous, and click the button "update" at the bottom of the page. Or else replace wp-content/db.php with the one in sqlite-integration directory manually.', 'sqlite-integration');
|
$notice_string = __('Upgrading Notice: To finish upgrading, please activate SQLite Integration and go Setting >> SQLite Integration >> Miscellaneous, and click the button "update" at the bottom of the page. Or else replace wp-content/db.php with the one in sqlite-integration directory manually.', 'sqlite-integration');
|
||||||
$current_version = defined('SQLITE_INTEGRATION_VERSION') ? SQLITE_INTEGRATION_VERSION : '';
|
$current_version = defined('SQLITE_INTEGRATION_VERSION') ? SQLITE_INTEGRATION_VERSION : '';
|
||||||
if (version_compare($current_version, '1.8', '=')) return;
|
if (version_compare($current_version, '1.8.1', '=')) return;
|
||||||
$version = '';
|
$version = '';
|
||||||
if (defined('WP_CONTENT_DIR')) {
|
if (defined('WP_CONTENT_DIR')) {
|
||||||
$path = WP_CONTENT_DIR . '/db.php';
|
$path = WP_CONTENT_DIR . '/db.php';
|
||||||
|
|
Loading…
Reference in New Issue