projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c172b
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Mon, 21 Oct 2013 05:16:27 +0000
(13:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 21 Oct 2013 05:16:27 +0000
(13:16 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
66752ac
..
d27da74
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-134,7
+134,7
@@
class Pman_Core_UpdateDatabase extends Pman
$mysql_cmd = $mysql .
- ' -h ' . $url['host'] .
+ ' -h ' . $
db
url['host'] .
' -u' . escapeshellarg($dburl['user']) .
(!empty($dburl['pass']) ? ' -p' . escapeshellarg($dburl['pass']) : '') .
' ' . basename($dburl['path']);