当前提交
877f918385
共有 2 个文件被更改,包括 15 次插入 和 0 次删除
|
|
@ -169,6 +169,11 @@ class Update extends CI_Controller {
|
||||||
}
|
}
|
||||||
gzclose($gz);
|
gzclose($gz);
|
||||||
|
|
||||||
|
if (!file_exists("./updates/"))
|
||||||
|
{
|
||||||
|
mkdir("./updates");
|
||||||
|
}
|
||||||
|
|
||||||
file_put_contents('./updates/cty.xml', $data);
|
file_put_contents('./updates/cty.xml', $data);
|
||||||
|
|
||||||
// Clear the tables, ready for new data
|
// Clear the tables, ready for new data
|
||||||
|
|
|
||||||
10
updates/index.html
普通文件
10
updates/index.html
普通文件
|
|
@ -0,0 +1,10 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
正在加载…
在新工单中引用