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:
apiening 2010-03-10 05:24:56 +00:00 committed by Sam Minnee
parent 625de452f7
commit 897a3b49af

View File

@ -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();