feat: add channel code integral reward
This commit is contained in:
@@ -20,7 +20,10 @@ class ClearServices extends BaseServices
|
||||
*/
|
||||
protected function delDirAndFile($dirName)
|
||||
{
|
||||
$list = glob($dirName . '*');
|
||||
if (!is_dir($dirName)) {
|
||||
return;
|
||||
}
|
||||
$list = glob($dirName . '*') ?: [];
|
||||
foreach ($list as $file) {
|
||||
if (is_dir($file))
|
||||
$this->delDirAndFile($file . DS);
|
||||
|
||||
Reference in New Issue
Block a user