From b17659142ef92bacbd33db97450f76a466fb8948 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 13 Feb 2011 21:44:00 +0800 Subject: [PATCH] Generator.php --- Generator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Generator.php b/Generator.php index 67a9a828..acc0444d 100644 --- 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 . -- 2.39.2