优化 关于页面
This commit is contained in:
parent
56ed17332c
commit
535f9e5f6f
|
@ -20,8 +20,8 @@ if(file_exists($about)){
|
||||||
echo file_get_contents($about);
|
echo file_get_contents($about);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//文件不存在,从服务器获取后写入本地再输出文件
|
//文件不存在
|
||||||
@file_put_contents($about,file_get_contents('https://cdn.lylme.com/lylme_spage/file/about.txt'));
|
@file_put_contents($about,'<h1>404</h1>'));
|
||||||
echo file_get_contents($about);
|
echo file_get_contents($about);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue