projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f3c8bd
)
UpdateDatabase.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 9 May 2012 09:00:05 +0000
(17:00 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 9 May 2012 09:00:05 +0000
(17:00 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
25656e3
..
13071c9
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-204,12
+204,12
@@
class Pman_Core_UpdateDatabase extends Pman
foreach(glob($fd.'/*.sql') as $bfn) {
$fn = $this->convertToPG($bfn);
-
$cmd = "$psql_cmd -f < " . escapeshellarg($fn) ;
echo $cmd. ($this->cli ? "\n" : "<BR>\n");
passthru($cmd);
}
- $fd = $this->rootDir. "/Pman/$m/mysql";
+
+ $fd = $this->rootDir. "/Pman/$m/pgsql";
foreach(glob($fd.'/*.sql') as $fn) {
$cmd = "$psql_cmd -f < " . escapeshellarg($fn) ;