From 6f03e29735ea395f31d09bbfd15a4e15eaf961e3 Mon Sep 17 00:00:00 2001 From: rub Date: Thu, 22 Feb 2007 20:20:30 +0000 Subject: o Proposition: improved display of 'x images in y sub-categories' or 'x images in this category' for cases when categories contain both images and sub-categories o Good idea of this new way for way conf['guest_access'], but I kept last implementation for access methods (Could be useful on future development) git-svn-id: http://piwigo.org/svn/trunk@1851 68402e56-0260-453c-a942-63ccdbb3a9ee --- register.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'register.php') diff --git a/register.php b/register.php index 1aeb6eb1d..68dd36da5 100644 --- a/register.php +++ b/register.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_NONE); + //----------------------------------------------------------- user registration if (!$conf['allow_user_registration']) -- cgit v1.2.3