]> git.wh0rd.org - tt-rss.git/blobdiff - config.php-dist
css cleanup; remove auxDlg; add separate prefs.css
[tt-rss.git] / config.php-dist
index 3cae4ab7e5b7fbc759575583794bc5b1e3622f7a..192cb15f923139ab6722f3d8f33bac2382670ee8 100644 (file)
        // Operate in single user mode, disables all functionality related to
        // multiple users.
 
+       define('SIMPLE_UPDATE_MODE', false);
+       // Enables fallback update mode where tt-rss tries to update feeds in
+       // background while tt-rss is open in your browser. 
+       // If you don't have a lot of feeds and don't want to or can't run 
+       // background processes while not running tt-rss, this method is generally 
+       // viable to keep your feeds up to date.
+       // Still, there are more robust (and recommended) updating methods 
+       // available, you can read about them here: http://tt-rss.org/wiki/UpdatingFeeds
+
        // *****************************
        // *** Files and directories ***
        // *****************************
        // *** Authentication ***
        // **********************
 
-       define('AUTH_MODULES', 'internal');
-       // Comma-separated list of authentication modules to use. 
-       // Available modules are:
-       // 1. internal - tt-rss internal user DB
-       // 2. remote - use server REMOTE_USER variable or client SSL certificate if enabled
-       // in preferences
-       //
+       // Please see PLUGINS below to configure various authentication modules.
 
        define('AUTH_AUTO_CREATE', true);
        // Allow authentication modules to auto-create users in tt-rss internal
        // *** Feed settings ***
        // *********************
 
-       define('DEFAULT_UPDATE_METHOD', 0);
-       // Which feed parsing library to use as default:
-       // 0 - Magpie
-       // 1 - SimplePie
-
        define('FORCE_ARTICLE_PURGE', 0);
        // When this option is not 0, users ability to control feed purging
        // intervals is disabled and all articles (which are not starred) 
        // *** Cookies and login sessions ***
        // **********************************
        
-       define('SESSION_COOKIE_LIFETIME', 0);
+       define('SESSION_COOKIE_LIFETIME', 86400*30);
        // Default lifetime of a session (e.g. login) cookie. In seconds, 
        // 0 means cookie will be deleted when browser closes.
+       // Setting this to zero will affect several user preferences
+       // like widescreen mode not saving.
 
-       define('SESSION_EXPIRE_TIME', 86400);
+       define('SESSION_EXPIRE_TIME', 86400*30);
        // Hard expiration limit for sessions. Should be
        // greater or equal to SESSION_COOKIE_LIFETIME
 
 
        define('SMTP_HOST', '');
        // SMTP Host to send outgoing mail. Blank - use system MTA.
+       
+       define('SMTP_PORT','');
+       // SMTP port to sent outgoing mail. Default is 25.
 
        define('SMTP_LOGIN', '');
        define('SMTP_PASSWORD', '');
        // These two options enable SMTP authentication when sending
        // outgoing mail. Only used with SMTP_HOST
 
-       // ************************************
-       // *** Twitter integration settings ***
-       // ************************************
-       
-       define('CONSUMER_KEY', '');
-       define('CONSUMER_SECRET', '');
-       // Your OAuth instance authentication information for Twitter, visit
-       // http://twitter.com/oauth_clients to register your instance.
-
        // ***************************************
        // *** Other settings (less important) ***
        // ***************************************
        // if you experience weird errors and tt-rss failing to start, blank pages
        // after login, or content encoding errors, disable it.
 
-       define('FEEDBACK_URL', '');
-       // Displays an URL for users to provide feedback or comments regarding
-       // this instance of tt-rss. Can lead to a forum, contact email, etc.
-
-       define('ARTICLE_BUTTON_PLUGINS', 'note,tweet,share,mail');
-       // Comma-separated list of additional article action button plugins
-       // to enable, like tweet button, etc.
-       // The following plugins are available: note, tweet, share, mail
-       // More plugins: http://tt-rss.org/wiki/Plugins
+       define('PLUGINS', 'auth_remote, auth_internal, note');
+       // 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.
 
-       define('CONFIG_VERSION', 25);
+       define('CONFIG_VERSION', 26);
        // Expected config version. Please update this option in config.php
        // if necessary (after migrating all new options from this file).