diff options
Diffstat (limited to 'www/register.php')
-rw-r--r-- | www/register.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/register.php b/www/register.php index 379dec4..5a12573 100644 --- a/www/register.php +++ b/www/register.php @@ -21,6 +21,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA require_once '../src/SemanticScuttle/header.php'; +if (!$GLOBALS['enableRegistration']) { + header('HTTP/1.0 501 Not implemented'); + echo 'Registration is disabled'; + exit(1); +} + /* Service creation: only useful services are created */ // No specific services |