Adobe Flash Player失灵之痛:从登录顺畅到黑屏的瞬间转折
最近客户的系统突然登录不了了!报错:用户密码错误! 但是用户密码分明是正确的,从此开始了历时3日的辛酸历程。为了解决这个问题 天天眼睛查得都红了。就是解决不了。最后原来程序设置的有效时期到了。郁闷了。 但是公司测试的电
/ 设置 10 秒超时 // 每日统计清 0 runtime_set('todaycomments', 0); runtime_set('todayarticles', 0); runtime_set('todayusers', 0); if ($forumlist) { $fidarr = array(); foreach ($forumlist as $fid => $forum) { $fidarr[] = $forum['fid']; } forum_update($fidarr, array('todayposts' => 0, 'todaythreads' => 0)); } // 清理临时附件 attach_gc(); // 当天24点 $today = strtotime(date('Ymd')) + 86400; runtime_set('cron_2_last_date', $today, TRUE); // 往前推8个小时,尽量保证在前一天 升级过来和采集的数据会很卡 // table_day_cron($time - 8 * 3600); cache_delete('cron_lock_2'); } } } ?>