diff --git a/src/user/album_add.php b/src/user/album_add.php index 2a0b1bc8..56f94048 100755 --- a/src/user/album_add.php +++ b/src/user/album_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -//考虑安全原因不管是否开启游客投稿功能,都不允许会员对图片投稿 +//禁止游客投稿 CheckRank(0, 0); if ($cfg_mb_lit == 'Y') { ShowMsg("由于系统开启了会员空间精简版,您浏览的功能不可用", "-1"); diff --git a/src/user/album_edit.php b/src/user/album_edit.php index 1f25861b..8a4f5c74 100755 --- a/src/user/album_edit.php +++ b/src/user/album_edit.php @@ -9,6 +9,8 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); +//禁止游客投稿 +CheckRank(0, 0); if ($cfg_mb_lit == 'Y') { ShowMsg("由于系统开启会员空间精简版,您浏览的功能不可用", "-1"); exit(); diff --git a/src/user/archives_add.php b/src/user/archives_add.php index 35477ea0..5ce2a350 100755 --- a/src/user/archives_add.php +++ b/src/user/archives_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -//考虑安全原因不管是否开启游客投稿功能,都不允许会员对图片投稿 +//禁止游客投稿 CheckRank(0, 0); require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/userlogin.class.php"); diff --git a/src/user/archives_edit.php b/src/user/archives_edit.php index 2996f5d9..d6bb221c 100755 --- a/src/user/archives_edit.php +++ b/src/user/archives_edit.php @@ -9,6 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); +//禁止游客投稿 CheckRank(0, 0); require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/customfields.func.php"); diff --git a/src/user/archives_sg_add.php b/src/user/archives_sg_add.php index b0d3782b..a5e5e952 100755 --- a/src/user/archives_sg_add.php +++ b/src/user/archives_sg_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -//考虑安全原因不管是否开启游客投稿功能,都不允许会员对图片投稿 +//禁止游客投稿 CheckRank(0, 0); require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/userlogin.class.php"); diff --git a/src/user/archives_sg_edit.php b/src/user/archives_sg_edit.php index 1187cdc1..5ecf0ec2 100755 --- a/src/user/archives_sg_edit.php +++ b/src/user/archives_sg_edit.php @@ -9,6 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); +//禁止游客投稿 CheckRank(0, 0); require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/customfields.func.php"); diff --git a/src/user/article_add.php b/src/user/article_add.php index bb707696..47eaffb5 100755 --- a/src/user/article_add.php +++ b/src/user/article_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -//考虑安全原因不管是否开启游客投稿功能,都不允许会员对图片投稿 +//禁止游客投稿 CheckRank(0, 0); require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/userlogin.class.php"); diff --git a/src/user/article_edit.php b/src/user/article_edit.php index 41f58011..0fc92224 100755 --- a/src/user/article_edit.php +++ b/src/user/article_edit.php @@ -9,6 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); +//禁止游客投稿 CheckRank(0, 0); require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/customfields.func.php"); diff --git a/src/user/soft_add.php b/src/user/soft_add.php index fe2b4777..93c624e3 100755 --- a/src/user/soft_add.php +++ b/src/user/soft_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -//考虑安全原因不管是否开启游客投稿功能,都不允许会员对图片投稿 +//禁止游客投稿 CheckRank(0, 0); if ($cfg_mb_lit == 'Y') { ShowMsg("由于系统开启了会员空间精简版,您浏览的功能不可用", "-1"); diff --git a/src/user/soft_edit.php b/src/user/soft_edit.php index 3efe6e6e..0af912c6 100755 --- a/src/user/soft_edit.php +++ b/src/user/soft_edit.php @@ -9,6 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); +//禁止游客投稿 CheckRank(0, 0); require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/customfields.func.php");