From: Alan Knowles Date: Mon, 27 Aug 2018 06:24:26 +0000 (+0800) Subject: UpdateDatabase.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=81717d37c5a9fdfc735ff65aad1c11a96cedf1c8 UpdateDatabase.php --- 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}");