mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update functions.php
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user