summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-19 08:13:36 +0100
committerAndrew Dolgov <[email protected]>2009-01-19 08:13:36 +0100
commit4f7956b3df7a7f87bbf7f70d9902edbd0264b43f (patch)
tree17528825640b1b23f1778388174a0cecf16ae582 /config.php-dist
parentbf996dfab4945953321a7678e5d6da6585a745b0 (diff)
add registration script and required config options
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist13
1 files changed, 13 insertions, 0 deletions
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', '[email protected]');
+ // 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).