UpdateDatabase.php
[Pman.Core] / UpdateDatabase.php
index 900c7ec..c54a4d1 100644 (file)
@@ -305,7 +305,7 @@ class Pman_Core_UpdateDatabase extends Pman
             // new -- sql directory..
             // new style will not support migrate ... they have to go into mysql-migrate.... directories..
             // new style will not support pg.sql etc.. naming - that's what the direcotries are for..
-            $dbdir = $dbtype == 'mysqli' ? 'mysql' : $dbdir;
+            $dbdir = $dbtype == 'mysqli' ? 'mysql' : $dbtype;
             
             $this->{$dirmethod}($dburl, $this->rootDir. "/Pman/$m/sql");
             $this->{$dirmethod}($dburl, $this->rootDir. "/Pman/$m/{$dbdir}");