* finish task #2187.
This commit is contained in:
@@ -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
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user