remove print_r

This commit is contained in:
Ibnu Maksum
2023-08-01 16:05:52 +07:00
parent 1111ea986e
commit 62c3002152
2 changed files with 47 additions and 47 deletions

View File

@ -6,7 +6,6 @@ class File
public static function copyFolder($from, $to, $exclude = [])
{
$files = scandir($from);
print_r($files);
foreach ($files as $file) {
if (is_file($from . $file) && !in_array($file, $exclude)) {
if (file_exists($to . $file)) unlink($to . $file);