]> git.wh0rd.org - tt-rss.git/blobdiff - config.php-dist
add article forwarding by email (closes #271)
[tt-rss.git] / config.php-dist
index ea236ff5612f9d829989f21a711c1973c5423092..1cabc5a07942478a65b2c59771d722115893050b 100644 (file)
        // longer than 5 seconds to generate.  To prevent failed
        // updates, increase this.
 
-       define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
+       define('MAGPIE_CACHE_DIR', 'cache/magpie');
        // Local cache directory for RSS feeds
 
        define('MAGPIE_CACHE_AGE', 60*30); 
        // How long to store cached RSS objects? In seconds.
        // Defaults to 30 minutes
 
-       define('WEB_DEMO_MODE', false);
-       // Demo mode with reduced functionality.
-       // Warning: this option is obsolete. Don't rely on it being
-       // checked in all necessary places.
-
        define('ICONS_DIR', "icons");
        define('ICONS_URL', "icons");
        // Local and URL path to the directory, where feed favicons are stored.
        // Operate in single user mode, disables all functionality related to
        // multiple users.
        
-       define('ENABLE_FEED_BROWSER', true);
-       // Enable or disable local feed browser
-
        define('TMP_DIRECTORY', '/tmp');
        // Directory for temporary files
 
        define('FEEDS_FRAME_REFRESH', 600);
        // Auto refresh interval for feeds frame (in seconds)
 
-       define('MAX_UPDATE_TIME', 0);
-       // Limit one update sequence run to this number of seconds.
-       // The valiue is not exact, because it is being checked between feed updates,
-       // which could use abritrary amount of time.    Feeds which could not be updated
-       // in time, are being skipped.
-       // If this option is enabled (non-zero) feeds are updated in random order.
-       // It is also recommended to set FEEDS_FRAME_REFRESH to a lower value if using
-       // this option.
-
        define('ENABLE_UPDATE_DAEMON', false);
        // This enables different mechanism for user-triggered updates designed
        // for update daemon running in background on the server.
        // greater or equal to SESSION_COOKIE_LIFETIME
 
        define('DAEMON_UPDATE_LOGIN_LIMIT', 0);
-       // Stop updating feeds of user who was never logged in
-       // in specified amount of days. 0 disables.
+       // Stop updating feeds of user who haven't logged in specified 
+       // amount of days. 0 disables.
 
        define('CHECK_FOR_NEW_VERSION', true);
-       // Check for new versions of tt-rss when entering preferences.
+       // Check for new versions of tt-rss automatically.
 
        define('USE_CURL_FOR_ICONS', false);
        // Fetch favicons using CURL, useful if your PHP has disabled remote fopen()
 
        define('DIGEST_ENABLE', true);
-       // Global option to enable daily digests
+       // Global option to enable daily digests. Also toggles the ability of users
+       // to forward articles by email.
 
        define('DIGEST_EMAIL_LIMIT', 10);
        // The maximum amount of emails sent in one digest batch
        // 0 - Magpie
        // 1 - SimplePie
 
-       define('SIMPLEPIE_CACHE_DIR',   '/var/tmp/simplepie-ttrss-cache');
+       define('SIMPLEPIE_CACHE_DIR',   'cache/simplepie');
        // Cache directory for RSS feeds when using SimplePie
 
        define('SIMPLEPIE_CACHE_IMAGES', false);
        // option can be used to integrate tt-rss with Apache's external
        // authentication modules.
 
-       define('LOCK_DIRECTORY', '.');
+       define('LOCK_DIRECTORY', 'lock');
        // Directory for lockfiles, must be writable to the user you run
        // daemon process or cronjobs under.
 
-       define('ALLOW_SELECT_UPDATE_METHOD', true);
-       // Allow users to select the library to update feeds with - e.g.
-       // Magpie or SimplePie
-
        define('ENABLE_GZIP_OUTPUT', false);
        // Selectively gzip output to improve wire performance. This requires
        // PHP Zlib extension on the server.