first commit

This commit is contained in:
f4ilji
2024-09-19 16:06:49 +05:00
commit b686638a39
1664 changed files with 428174 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
$selfDir = dirname(__FILE__);
require_once $selfDir .'/config.php';
$resultBody = array('success' => true, 'forward_code' => 200, 'message' => 'Временные файлы успешно удалены.');
$clearZip = clearZip();
removeDirectory($selfDir . '/../update_tmp/');
if ($clearZip === false) {
$resultBody = array('success' => true, 'forward_code' => 500, 'message' => 'При удалении временных файлов произошла ошибка.');
}
loadHeaders();
setResponseCode(200);
echo json_encode($resultBody);