// Discuz X3.2 ÇåÀí¹ýÆڻỰºËÐÄ $expiretime = TIMESTAMP - 3600; // ÇåÀí24СʱǰµĹýÆڻỰ£¨¿ɸģº3600=1Сʱ£¬7200=2Сʱ,86400=1day£© DB::query("DELETE FROM ".DB::table('dfsy_common_session')." WHERE lastactivity < '$expiretime'"); // Êä³öÇåÀí½á¹û£¨ºǫ́¿ɲ飩 $count = DB::affected_rows(); return "³ɹ¦ÇåÀí {$count} Ìõ¹ýÆڻỰ¼Ç¼";






















































































| 欢迎光临 小光圈 (http://www.xiaogq.com/) | Powered by Discuz! X3.2 |