Commit 5a00c2e7 by doszhang

dos

parent fc1349b5
...@@ -29,6 +29,11 @@ class IndexController extends Controller ...@@ -29,6 +29,11 @@ class IndexController extends Controller
} }
public function addNum(){ public function addNum(){
if(time() > 1584633600)
{
header("HTTP/1.0 404 Not Found");
exit;
}
$referer = $_SERVER['HTTP_REFERER']; $referer = $_SERVER['HTTP_REFERER'];
$refererInfo = parse_url( $referer ); $refererInfo = parse_url( $referer );
if( $refererInfo['host'] != $_SERVER['HTTP_HOST'] ) if( $refererInfo['host'] != $_SERVER['HTTP_HOST'] )
......
...@@ -89,7 +89,7 @@ preloadimages(preloadImageList, function () { ...@@ -89,7 +89,7 @@ preloadimages(preloadImageList, function () {
initPage(); initPage();
$('.loading-page').hide(); $('.loading-page').hide();
$('.page1').show(); $('.page1').show();
if (timestamp > 1584633600) { if (timestamp > 1584720000) {
$('.end-page').show(); $('.end-page').show();
} }
clearInterval(musicTime); clearInterval(musicTime);
...@@ -99,7 +99,7 @@ preloadimages(preloadImageList, function () { ...@@ -99,7 +99,7 @@ preloadimages(preloadImageList, function () {
initPage(); initPage();
$('.loading-page').hide(); $('.loading-page').hide();
$('.page1').show(); $('.page1').show();
if (timestamp > 1584633600) { if (timestamp > 1584720000) {
$('.end-page').show(); $('.end-page').show();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment