* fix the error of sn.

This commit is contained in:
wangchunsheng
2010-09-12 03:37:28 +00:00
parent 67fd639f16
commit b205f4bcf7
2 changed files with 11 additions and 3 deletions
+1
View File
@@ -26,6 +26,7 @@ class misc extends control
/* 通过隐藏的iframe定时刷新此页面,保证session不过期。*/
public function ping()
{
if(mt_rand(0, 10) == 5) $this->loadModel('setting')->setSN();
die("<html><head><meta http-equiv='refresh' content='300' /></head><body></body></html>");
}