Update compile_database.php
This commit is contained in:
@@ -153,9 +153,11 @@ $files = glob($directory . '/*');
|
|||||||
// Iterate over each file and delete it
|
// Iterate over each file and delete it
|
||||||
foreach ($files as $file) {
|
foreach ($files as $file) {
|
||||||
// Check if the file is a regular file (not a directory)
|
// Check if the file is a regular file (not a directory)
|
||||||
//if (is_file($file)) {
|
if (is_file($file)) {
|
||||||
unlink($file);
|
unlink($file);
|
||||||
//}
|
}else{
|
||||||
|
rmdir($file);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
download_files($excluded);
|
download_files($excluded);
|
||||||
|
|||||||
Reference in New Issue
Block a user