Merge pull request #224 from Manawyrm/patch-3

Create updates folder
pull/225/head
Peter Goodhall 2018-11-28 23:50:09 +00:00 zatwierdzone przez GitHub
commit 877f918385
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -169,6 +169,11 @@ class Update extends CI_Controller {
}
gzclose($gz);
if (!file_exists("./updates/"))
{
mkdir("./updates");
}
file_put_contents('./updates/cty.xml', $data);
// Clear the tables, ready for new data

10
updates/index.html 100644
Wyświetl plik

@ -0,0 +1,10 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>