make fcgid and php-fpm config cleaning work for real, fixes #1180

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-04-01 10:51:42 +02:00
parent da516ed615
commit 8c8cbc74cf

View File

@@ -118,7 +118,7 @@ while($row = $db->fetch_array($result_tasks))
// now get rid of old stuff
//(but append /* so we don't delete the directory)
$configdir.='/*';
safe_exec('rm -rf '. escapeshellarg(makeCorrectFile($configdir)));
safe_exec('rm -rf '. makeCorrectFile($configdir));
}
}
@@ -132,7 +132,7 @@ while($row = $db->fetch_array($result_tasks))
// now get rid of old stuff
//(but append /* so we don't delete the directory)
$configdir.='/*';
safe_exec('rm -rf '. escapeshellarg(makeCorrectFile($configdir)));
safe_exec('rm -rf '. makeCorrectFile($configdir));
}
}