Update functions.php

This commit is contained in:
FusionPBX 2019-10-15 13:53:36 -06:00 committed by GitHub
parent 7113d5203a
commit 81fa8cad81
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@
if (file_exists('/usr/bin/find')) {
function recursive_delete($directory) {
if (isset($directory) && strlen($directory) > 8) {
exec('/usr/bin/find '.$directory.' -name "*" -delete');
exec('/usr/bin/find '.$directory.'/* -name "*" -delete');
//exec('rm -Rf '.$directory.'/*');
clearstatcache();
}