DengTao 8 жил өмнө
parent
commit
4ca30739ee

+ 1 - 1
www/protected/modules/moonclub/views/web/index.php

@@ -71,7 +71,7 @@
 
 
       if (!userID || !appToken) {
       if (!userID || !appToken) {
         localStorage.clear();
         localStorage.clear();
-        location.href = '<?php echo Yii::app()->request->baseUrl . '/moonclub/web/Index'; ?>';
+        location.href = '<?php echo Yii::app()->request->baseUrl . '/index.php?r=/moonclub/web/Index'; ?>';
       }
       }
       document.write('<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"><\/script>');
       document.write('<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"><\/script>');
     }
     }