From 4a7d7ced9bb339b1ad70d21d8a90b61424af662b Mon Sep 17 00:00:00 2001 From: cweiske Date: Mon, 2 Nov 2009 09:40:00 +0000 Subject: [PATCH] add configuration option to disable registration git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@501 b3834d28-1941-0410-a4f8-b48e95affb8f --- data/config.default.php | 7 +++++++ data/templates/toolbar.inc.php | 2 ++ www/register.php | 6 ++++++ 3 files changed, 15 insertions(+) diff --git a/data/config.default.php b/data/config.default.php index 4a17503..76c8856 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -253,6 +253,13 @@ $antispamQuestion = 'name of this application'; */ $antispamAnswer = 'semanticscuttle'; +/** + * Enable or disable user registration + * + * @var boolean + */ +$enableRegistration = true; + /*************************************************** diff --git a/data/templates/toolbar.inc.php b/data/templates/toolbar.inc.php index fa7170a..0d9bf49 100644 --- a/data/templates/toolbar.inc.php +++ b/data/templates/toolbar.inc.php @@ -27,7 +27,9 @@ if ($userservice->isLoggedOn()) {
  • +
  • +