diff options
Diffstat (limited to '')
-rw-r--r-- | register.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/register.php b/register.php index ceca0150c..55d0b226c 100644 --- a/register.php +++ b/register.php @@ -29,6 +29,12 @@ define('PHPWG_ROOT_PATH','./'); include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); //----------------------------------------------------------- user registration + +if (!$conf['allow_user_registration']) +{ + page_forbidden('User registration closed'); +} + $errors = array(); if (isset($_POST['submit'])) { |