mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 11:19:56 +09:00
관리자 페이지에서 1시간 캐싱 인터벌을 가지고 공식 사이트의 최근 뉴스를 가지고 오도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1991 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0ffa6367fd
commit
87e2fab04c
6 changed files with 92 additions and 33 deletions
|
|
@ -138,7 +138,7 @@
|
|||
if(!$fp) return;
|
||||
|
||||
$url_info['path'] = str_replace(' ','%20',$url_info['path']);
|
||||
$header = sprintf("GET %s HTTP/1.0\r\nHost: %s\r\nReferer: %s://%s\r\n\r\n", $url_info['path'], $url_info['host'], $url_info['scheme'], $url_info['host']);
|
||||
$header = sprintf("GET %s HTTP/1.0\r\nHost: %s\r\nReferer: %s://%s\r\nRequestUrl: %s\r\n\r\n", $url_info['path'], $url_info['host'], $url_info['scheme'], $url_info['host'], Context::getRequestUri());
|
||||
@fwrite($fp, $header);
|
||||
|
||||
$ft = @fopen($target_filename, 'w');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue