]> 91.132.146.200 Git - bibliotheca-php.git/commitdiff
update to setup
authorBanana <mail@bananas-playground.net>
Sun, 8 Aug 2021 11:42:06 +0000 (13:42 +0200)
committerBanana <mail@bananas-playground.net>
Sun, 8 Aug 2021 11:42:06 +0000 (13:42 +0200)
webclient/setup/index.php

index 9bda2593b35aa8140b6baf5fc099d33d5013ef28..c4fb3b4469382342b797a76f40cd1db638b480bd 100644 (file)
@@ -349,5 +349,6 @@ RET;
 }
 
 function clearSetup() {
-       unlink('../setup');
+       array_map('unlink', glob("../setup/*"));
+       rmdir('../setup');
 }