sqlite3 strict check

This commit is contained in:
Garvin Hicking 2010-02-16 13:06:44 +00:00
parent 74b92f1c88
commit f043e8e8dd
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@
Version 1.6 ()
------------------------------------------------------------------------
* Stricter check for sqlite3 extension, only functional interface
instead of OOP currently supported (garvinhicking)
* Experimental: When sending quoted-printable notification mails,
auto-split after 75 characters.
(Ref: http://board.s9y.org/viewtopic.php?f=3&t=16314)

View File

@ -895,10 +895,10 @@ function serendipity_probeInstallation($item) {
if (extension_loaded('mysqli')) {
$res['mysqli'] = 'MySQLi';
}
if (extension_loaded('sqlite')) {
if (extension_loaded('sqlite') && function_exists('sqlite_open')) {
$res['sqlite'] = 'SQLite';
}
if (extension_loaded('SQLITE3')) {
if (extension_loaded('SQLITE3') && function_exists('sqlite3_open')) {
$res['sqlite3'] = 'SQLite3';
}
if (function_exists('sqlrcon_alloc')) {