projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e017f08
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Tue, 7 Oct 2014 06:18:27 +0000
(14:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 7 Oct 2014 06:18:27 +0000
(14:18 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
01041c2
..
2256295
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-173,12
+173,12
@@
class Pman_Core_UpdateDatabase extends Pman
$ff = HTML_Flexyframework::get();
$ff = HTML_Flexyframework::get();
- $url = parse_url($ff->DB_DataObject['database']);
+ $
db
url = parse_url($ff->DB_DataObject['database']);
//$this->{'import' . $url['scheme']}($url);
//$this->{'import' . $url['scheme']}($url);
- $dbtype = $url['scheme'];
- $dirmethod = 'import' . $url['scheme'] . '.dir';
+ $dbtype = $
db
url['scheme'];
+ $dirmethod = 'import' . $
db
url['scheme'] . '.dir';
@@
-207,7
+207,7
@@
class Pman_Core_UpdateDatabase extends Pman
echo "Importing SQL from module $m using Module::importModuleSQL\n";
$x->opts = $this->opts();
$x->rootDir = $this->rootDir;
echo "Importing SQL from module $m using Module::importModuleSQL\n";
$x->opts = $this->opts();
$x->rootDir = $this->rootDir;
- $x->importModuleSQL();
+ $x->importModuleSQL(
$dburl
);
continue;
}
};
continue;
}
};