aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--comments.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/comments.php b/comments.php
index f82fa6423..fa18ada15 100644
--- a/comments.php
+++ b/comments.php
@@ -34,6 +34,11 @@ if (!defined('IN_ADMIN'))
include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
}
+// +-----------------------------------------------------------------------+
+// | Check Access and exit when user status is not ok |
+// +-----------------------------------------------------------------------+
+check_status(ACCESS_GUEST);
+
$sort_order = array(
'descending' => 'DESC',
'ascending' => 'ASC'