diff --git a/e/action/ShowInfo.php b/e/action/ShowInfo.php index 2c8cba0..852ef3d 100644 --- a/e/action/ShowInfo.php +++ b/e/action/ShowInfo.php @@ -25,6 +25,15 @@ if(!$r['id']||$classid!=$r['classid']) { printerror('此信息不存在','',1,0,1); } + +$userId= (int)$_COOKIE['lsfmomluserid']; + +$usergroupid = 0; +if(!$userId){ + Header("Location:/e/member/login/");; +} + + //外部链接 if($r['isurl']) {