* finish task #2187.

This commit is contained in:
wangyidong
2015-01-28 10:22:00 +08:00
parent a175b9bae8
commit e67ab008d4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class misc extends control
public function ping()
{
if(mt_rand(0, 1) == 1) $this->loadModel('setting')->setSN();
die("<html><head><meta http-equiv='refresh' content='300' /></head><body></body></html>");
die("<html><head><meta http-equiv='refresh' content='600' /></head><body></body></html>");
}
/**
+1 -1
View File
@@ -1205,7 +1205,7 @@ $(document).ready(function()
$(window).resize(saveWindowSize); // When window resized, call it again.
if(needPing) setTimeout('setPing()', 1000 * 60); // After 5 minutes, begin ping.
if(needPing) setTimeout('setPing()', 1000 * 60 * 10); // After 10 minutes, begin ping.
$('.export').bind('click', function()
{