- feature 599: option to forbid user registration

- 1 language cleanup
- added page_forbidden function (sends 403)

git-svn-id: http://piwigo.org/svn/trunk@1652 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-12-13 01:05:38 +00:00
parent 5046b3c210
commit 74e5d80e89
13 changed files with 58 additions and 12 deletions
+6
View File
@@ -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']))
{