diff options
Diffstat (limited to 'qsearch.php')
-rw-r--r-- | qsearch.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/qsearch.php b/qsearch.php index da5188196..a7fc1d956 100644 --- a/qsearch.php +++ b/qsearch.php @@ -1,9 +1,8 @@ <?php // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | -// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) // | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ @@ -27,6 +26,11 @@ 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); + if (empty($_GET['q'])) { redirect( make_index_url() ); |