prolif löschen

This commit is contained in:
2023-03-02 22:02:38 +01:00
parent 5c7f9b3b03
commit c3e5b151b0
5 changed files with 76 additions and 13 deletions

View File

@ -179,5 +179,15 @@ function getDogByQrId($qr_id, $conn, $fields = null)
}
return $returnData;
}
function deleteDir($dir)
{
foreach(glob($dir . '/*') as $file)
{
if(!is_dir($file))
{
unlink($file);
}
}
return rmdir($dir);
}
?>