[PHP] 判断是否登陆 →→→→→进入此内容的聊天室

来自 , 2020-09-01, 写在 PHP, 查看 115 次.
URL http://www.code666.cn/view/09060616
  1. <?php
  2.  
  3. class CommonAction extends Action{
  4.     public function _initialize(){
  5.                 if (!isset($_SESSION['uid'])) {
  6.                         $this->redirect(GROUP_NAME . '/Login/index');
  7.                 }
  8.     }
  9. }
  10. ?>

回复 "判断是否登陆"

这儿你可以回复上面这条便签

captcha