aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/search.php b/search.php
index 587c7f760..5eaeef419 100644
--- a/search.php
+++ b/search.php
@@ -28,6 +28,12 @@
//--------------------------------------------------------------------- include
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);
+
//------------------------------------------------------------------ form check
$errors = array();
$search = array();