From 81717d37c5a9fdfc735ff65aad1c11a96cedf1c8 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 27 Aug 2018 14:24:26 +0800 Subject: [PATCH] UpdateDatabase.php --- UpdateDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UpdateDatabase.php b/UpdateDatabase.php index 900c7ecd..c54a4d1d 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -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}"); -- 2.39.2