Browse Source

Update functions.php

FusionPBX 6 năm trước cách đây
mục cha
commit
db19272989
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      resources/functions.php

+ 1 - 1
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();
 				}