Update Update.php

This commit is contained in:
Tobias Mädel
2018-11-28 23:21:43 +01:00
committed by GitHub
parent fffc58ffac
commit 06028a4018

View File

@@ -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