From 4f7956b3df7a7f87bbf7f70d9902edbd0264b43f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 19 Jan 2009 08:13:36 +0100 Subject: add registration script and required config options --- config.php-dist | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'config.php-dist') diff --git a/config.php-dist b/config.php-dist index b06ee2b5b..f03f5f8e7 100644 --- a/config.php-dist +++ b/config.php-dist @@ -184,6 +184,19 @@ define('PHP_EXECUTABLE', '/usr/bin/php'); // Path to PHP executable + define('ENABLE_REGISTRATION', false); + // Allow users to register themselves. Please be vary that allowing + // random people to access your tt-rss installation is a security risk + // and potentially might lead to data loss or server exploit. Disabled + // by default. + + define('REG_NOTIFY_ADDRESS', 'user@your.domain.dom'); + // Email address to send new user notifications to. + + define('REG_MAX_USERS', 10); + // Maximum amount of users which will be allowed to register on this + // system. 0 - no limit. + define('CONFIG_VERSION', 18); // Expected config version. Please update this option in config.php // if necessary (after migrating all new options from this file). -- cgit v1.2.3