From 81fa8cad81104574b12e058bbbd2f8efea6d86d4 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 15 Oct 2019 13:53:36 -0600 Subject: [PATCH] Update functions.php --- resources/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functions.php b/resources/functions.php index 28d98046e4..fa299e4271 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -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(); }