Author: Crafty_Shadow
Date: 2010-01-30 17:32:03 +0100 (Sat, 30 Jan 2010)
New Revision: 27330

Modified:
   plugins/diemPlugin/trunk/dmCorePlugin/config/installer.php
Log:
[Diem] Auto-database creation now working with pgsql

Modified: plugins/diemPlugin/trunk/dmCorePlugin/config/installer.php
===================================================================
--- plugins/diemPlugin/trunk/dmCorePlugin/config/installer.php  2010-01-30 
16:14:06 UTC (rev 27329)
+++ plugins/diemPlugin/trunk/dmCorePlugin/config/installer.php  2010-01-30 
16:32:03 UTC (rev 27330)
@@ -136,7 +136,7 @@
           $this->log('');
           $this->log('The database you specified does not exist, Diem will now 
try to create it...');
           
-          $dbh = new PDO('mysql:host=' . $settings['database']['host'], 
$settings['database']['user'], $settings['database']['password']);
+          $dbh = new PDO($dbm . ':host=' . $settings['database']['host'], 
$settings['database']['user'], $settings['database']['password']);
 
           if ('mysql' == $dbm)
           {

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to