MINOR: repair installer for sqlite

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@109788 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
apiening 2010-08-19 09:34:43 +00:00 committed by Sam Minnee
parent f5245c7b0f
commit 4002bdfd55

View File

@ -229,8 +229,8 @@ class InstallRequirements {
array(
"Database Configuration",
"Database server",
"I couldn't find a database server on '$databaseConfig[server]'",
$databaseConfig['server']
$databaseConfig['type'] == 'SQLiteDatabase' ? "I couldn't write to path '$databaseConfig[path]'" : "I couldn't find a database server on '$databaseConfig[server]'",
$databaseConfig['type'] == 'SQLiteDatabase' ? $databaseConfig['path'] : $databaseConfig['server']
)
)) {
if($this->requireDatabaseConnection(