projects
/
squasher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a257a6a
)
Fixed delete logs
author
Jean-Michel Vourgère
<jvourger@greenpeace.org>
Mon, 27 Feb 2017 15:19:18 +0000
(15:19 +0000)
committer
Jean-Michel Vourgère
<jvourger@greenpeace.org>
Thu, 9 Mar 2017 18:06:30 +0000
(18:06 +0000)
squasher.class.php
patch
|
blob
|
history
diff --git
a/squasher.class.php
b/squasher.class.php
index a699f4c8e8dd1f495e7fb035f34c29015f810a0c..0b132b306ee534af586d2a25f7ad1285c53494b3 100644
(file)
--- a/
squasher.class.php
+++ b/
squasher.class.php
@@
-912,8
+912,8
@@
function file_crc_debug($file) {
function delete_file($h, $s) {
$request = $this->get_config($h);
+ $filepath=$request['path'].'/'.$request[2];
if (strpos($request['path'], './uploads/ftp')) {
- $filepath=$request['path'].'/'.$request[2];
#remove file
if (is_file($filepath))
@unlink($filepath);