mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
The easy solution to all my problems with SQLite is this. :( #56105
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10422 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5cce7d0bae
commit
bdf60ab2c1
2 changed files with 9 additions and 1 deletions
|
@ -145,6 +145,7 @@
|
||||||
<li>[Change] Forum feed no longer includes posts of subforums.</li>
|
<li>[Change] Forum feed no longer includes posts of subforums.</li>
|
||||||
<li>[Change] Show login attempt CAPTCHA option in the captcha plugin module.</li>
|
<li>[Change] Show login attempt CAPTCHA option in the captcha plugin module.</li>
|
||||||
<li>[Change] It is no longer possible to persist a solution for the login CAPTCHA.</li>
|
<li>[Change] It is no longer possible to persist a solution for the login CAPTCHA.</li>
|
||||||
|
<li>[Change] SQLite is no longer autoloaded by the installer. (Bug #56105)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="v305"></a><h3>1.ii. Changes since 3.0.5</h3>
|
<a name="v305"></a><h3>1.ii. Changes since 3.0.5</h3>
|
||||||
|
|
|
@ -23,7 +23,14 @@ function can_load_dll($dll)
|
||||||
{
|
{
|
||||||
// SQLite2 is a tricky thing, from 5.0.0 it requires PDO; if PDO is not loaded we must state that SQLite is unavailable
|
// SQLite2 is a tricky thing, from 5.0.0 it requires PDO; if PDO is not loaded we must state that SQLite is unavailable
|
||||||
// as the installer doesn't understand that the extension has a prerequisite.
|
// as the installer doesn't understand that the extension has a prerequisite.
|
||||||
if ($dll == 'sqlite' && version_compare(PHP_VERSION, '5.0.0', '>=') && !extension_loaded('pdo'))
|
//
|
||||||
|
// On top of this sometimes the SQLite extension is compiled for a different version of PDO
|
||||||
|
// by some Linux distributions which causes phpBB to bomb out with a blank page.
|
||||||
|
//
|
||||||
|
// Net result we'll disable automatic inclusion of SQLite support
|
||||||
|
//
|
||||||
|
// See: r9618 and #56105
|
||||||
|
if ($dll == 'sqlite')
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue