|
|
|
@ -1,7 +1,8 @@ |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
my $auth = ${'tt-rss'}{'Authentication'} || 'http'; |
|
|
|
|
my $authModule = ($auth eq 'internal') ? 'internal':'remote'; |
|
|
|
|
my $plugins = ($auth eq 'internal') ? 'auth_internal':'auth_remote'; |
|
|
|
|
$plugin .= ',note'; |
|
|
|
|
my $multi = ((${'tt-rss'}{'MultiUser'} || 'enabled') eq 'enabled') ? 'false':'true'; |
|
|
|
|
|
|
|
|
|
$OUT .=<<"HERE"; |
|
|
|
@ -10,12 +11,12 @@ $OUT .=<<"HERE"; |
|
|
|
|
// Operate in single user mode, disables all functionality related to |
|
|
|
|
// multiple users. |
|
|
|
|
|
|
|
|
|
define('AUTH_MODULES',$authModule); |
|
|
|
|
// Set to 'true' if you trust your web server's REMOTE_USER |
|
|
|
|
// environment variable to validate that the user is logged in. This |
|
|
|
|
// option can be used to integrate tt-rss with Apache's external |
|
|
|
|
// authentication modules. |
|
|
|
|
|
|
|
|
|
define('PLUGINS','$plugins'); |
|
|
|
|
// Comma-separated list of plugins to load automatically for all users. |
|
|
|
|
// System plugins have to be specified here. Please enable at least one |
|
|
|
|
// authentication plugin here (auth_*). |
|
|
|
|
// Users may enable other user plugins from Preferences/Plugins but may not |
|
|
|
|
// disable plugins specified in this list. |
|
|
|
|
HERE |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|