mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR: added sqlite to the installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100800 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
625de452f7
commit
897a3b49af
@ -88,6 +88,13 @@ DatabaseAdapterRegistry::register(
|
|||||||
function_exists('pg_query'),
|
function_exists('pg_query'),
|
||||||
null,
|
null,
|
||||||
'The <a href="http://php.net/pgsql">pgsql</a> PHP extension is not available. Please install or enable it and refresh this page.');
|
'The <a href="http://php.net/pgsql">pgsql</a> PHP extension is not available. Please install or enable it and refresh this page.');
|
||||||
|
DatabaseAdapterRegistry::register(
|
||||||
|
'SQLite3Database',
|
||||||
|
'SQLite 3.3+',
|
||||||
|
'sqlite3/code/SQLiteDatabaseConfigurationHelper.php',
|
||||||
|
class_exists('SQLite3') || class_exists('PDO'),
|
||||||
|
null,
|
||||||
|
'The <a href="http://php.net/manual/en/book.sqlite3.php">SQLite3</a> and <a href="http://php.net/manual/en/book.pdo.php">PDO</a> classes are not available. Please install or enable them and refresh this page.');
|
||||||
|
|
||||||
// Discover any 3rd party ones
|
// Discover any 3rd party ones
|
||||||
DatabaseAdapterRegistry::autodiscover();
|
DatabaseAdapterRegistry::autodiscover();
|
||||||
|
Loading…
Reference in New Issue
Block a user