浏览代码

add to local

stanley-king 8 年之前
父节点
当前提交
795d60369d
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      mobile/control/control.php

+ 5 - 0
mobile/control/control.php

@@ -49,6 +49,11 @@ class mobileControl
         statistics_helper::instance()->add_call($_GET);
     }
 
+    public function __destruct()
+    {
+        //unset($_SESSION['is_app']);
+    }
+
     protected function android()
     {
         return $_SESSION['client_type'] == 'android';