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:
@@ -118,7 +118,7 @@ while($row = $db->fetch_array($result_tasks))
|
|||||||
// now get rid of old stuff
|
// now get rid of old stuff
|
||||||
//(but append /* so we don't delete the directory)
|
//(but append /* so we don't delete the directory)
|
||||||
$configdir.='/*';
|
$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
|
// now get rid of old stuff
|
||||||
//(but append /* so we don't delete the directory)
|
//(but append /* so we don't delete the directory)
|
||||||
$configdir.='/*';
|
$configdir.='/*';
|
||||||
safe_exec('rm -rf '. escapeshellarg(makeCorrectFile($configdir)));
|
safe_exec('rm -rf '. makeCorrectFile($configdir));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user