projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a02758
)
Generator.php
author
Alan Knowles
<alan@akkbhome.com>
Sun, 13 Feb 2011 13:44:00 +0000
(21:44 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Sun, 13 Feb 2011 13:44:00 +0000
(21:44 +0800)
Generator.php
patch
|
blob
|
history
diff --git
a/Generator.php
b/Generator.php
index
67a9a82
..
acc0444
100644
(file)
--- a/
Generator.php
+++ b/
Generator.php
@@
-222,7
+222,7
@@
class Pman_Core_Generator extends DB_DataObject_Generator
$url['user'] = '*****';
$url['host'] = '*****';
}
-
+
require_once 'System.php';
$cat = System::which('cat');
$mysql = System::which('mysql');
@@
-230,7
+230,7
@@
class Pman_Core_Generator extends DB_DataObject_Generator
foreach($this->modsql as $m => $fl)
{
if ($cli && isset($options['database_'. $m])) {
- $url =parse_url($options['database_'.$m]);
+ $url =
parse_url($options['database_'.$m]);
}
$mysql_cmd = $mysql .