Update compile_database.php
This commit is contained in:
@@ -126,7 +126,7 @@ function remove_directory($dir) {
|
|||||||
// Check if the current item is a directory
|
// Check if the current item is a directory
|
||||||
if (is_dir($filePath)) {
|
if (is_dir($filePath)) {
|
||||||
// Recursively call the function for subdirectories
|
// Recursively call the function for subdirectories
|
||||||
removeDirectory($filePath);
|
remove_directory($filePath);
|
||||||
} else {
|
} else {
|
||||||
// Delete the file
|
// Delete the file
|
||||||
unlink($filePath);
|
unlink($filePath);
|
||||||
|
|||||||
Reference in New Issue
Block a user