projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
840d494
)
Dump.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 21 Mar 2011 10:35:31 +0000
(18:35 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 21 Mar 2011 10:35:31 +0000
(18:35 +0800)
Dump.php
patch
|
blob
|
history
diff --git
a/Dump.php
b/Dump.php
index
0138984
..
73ec129
100644
(file)
--- a/
Dump.php
+++ b/
Dump.php
@@
-410,7
+410,7
@@
class Pman_Admin_Dump extends Pman {
$fs = 0;
foreach($this->childfiles as $v) {
- $fs += filesize($v[0].'/'.$v[1])
+ $fs += filesize($v[0].'/'.$v[1])
;
fwrite($fh,"mkdir -p " . escapeshellarg(dirname($this->args['dump-dir'] .'/'.$v[1])) ."\n" );
fwrite($fh,"cp " . escapeshellarg($v[0].'/'.$v[1]) . ' ' . escapeshellarg($this->args['dump-dir'] .'/'.$v[1]) ."\n" );