as $file) { is_dir($file) ? removeDirectory($file) : unlink($file); } rmdir($path); return; }
removeDirectory("../".$project);
Two things. You are using Unix like directory paths. It is very likely to fail in one of the two since both os use different paths. Make conditions and use differetent paths of windows or Linux. And Second thing you can paste the error for quick feedback 👍
Обсуждают сегодня