aboutsummaryrefslogtreecommitdiffstats
path: root/random.php
diff options
context:
space:
mode:
Diffstat (limited to 'random.php')
-rw-r--r--random.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/random.php b/random.php
index 189ac57b1..820eb00f0 100644
--- a/random.php
+++ b/random.php
@@ -30,6 +30,12 @@
// +-----------------------------------------------------------------------+
define('PHPWG_ROOT_PATH','./');
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
+
+// +-----------------------------------------------------------------------+
+// | Check Access and exit when user status is not ok |
+// +-----------------------------------------------------------------------+
+check_status(ACCESS_GUEST);
+
// +-----------------------------------------------------------------------+
// | generate random element list |
// +-----------------------------------------------------------------------+