]> git.wh0rd.org - tt-rss.git/blobdiff - config.php-dist
pngcrush.sh
[tt-rss.git] / config.php-dist
old mode 100644 (file)
new mode 100755 (executable)
index eb33397..a8817fa
@@ -8,7 +8,7 @@
        define('DB_USER', "fox");
        define('DB_NAME', "fox");
        define('DB_PASS', "XXXXXX");
-       //define('DB_PORT', '5432'); // when neeeded, PG-only
+       define('DB_PORT', ''); // usually 5432 for PostgreSQL, 3306 for MySQL
 
        define('MYSQL_CHARSET', 'UTF8');
        // Connection charset for MySQL. If you have a legacy database and/or experience
@@ -18,9 +18,9 @@
        // *** Basic settings (important!) ***
        // ***********************************
 
-       define('SELF_URL_PATH', 'http://yourserver/tt-rss/');
+       define('SELF_URL_PATH', 'http://example.org/tt-rss/');
        // Full URL of your tt-rss installation. This should be set to the
-       // location of tt-rss directory, e.g. http://yourserver/tt-rss/
+       // location of tt-rss directory, e.g. http://example.org/tt-rss/
        // You need to set this option correctly otherwise several features
        // including PUSH, bookmarklets and browser integration will not work properly.
 
 
        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 
+       // 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 
+       // Still, there are more robust (and recommended) updating methods
        // available, you can read about them here: http://tt-rss.org/wiki/UpdatingFeeds
 
        // *****************************
        // *****************************
 
        define('PHP_EXECUTABLE', '/usr/bin/php');
-       // Path to PHP executable, used for various command-line tt-rss programs
+       // Path to PHP *COMMAND LINE* executable, used for various command-line tt-rss
+       // programs and update daemon. Do not try to use CGI binary here, it won't work.
+       // If you see HTTP headers being displayed while running tt-rss scripts,
+       // then most probably you are using the CGI binary. If you are unsure what to
+       // put in here, ask your hosting provider.
 
        define('LOCK_DIRECTORY', 'lock');
        // Directory for lockfiles, must be writable to the user you run
 
        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) 
+       // intervals is disabled and all articles (which are not starred)
        // older than this amount of days are purged.
 
-       // *** PubSubHubbub settings ***
+       // ****************************
+       // *** Sphinx search plugin ***
+       // ****************************
 
-       define('PUBSUBHUBBUB_HUB', '');
-       // URL to a PubSubHubbub-compatible hub server. If defined, "Published
-       // articles" generated feed would automatically become PUSH-enabled.
+       define('SPHINX_SERVER', 'localhost:9312');
+       // Hostname:port combination for the Sphinx server.
 
-       define('PUBSUBHUBBUB_ENABLED', false);
-       // Enable client PubSubHubbub support in tt-rss. When disabled, tt-rss
-       // won't try to subscribe to PUSH feed updates.
-
-       // *********************
-       // *** Sphinx search ***
-       // *********************
-
-       define('SPHINX_ENABLED', false);
-       // Enable fulltext search using Sphinx (http://www.sphinxsearch.com)
-       // Please see http://tt-rss.org/wiki/SphinxSearch for more information.
-
-       define('SPHINX_INDEX', 'ttrss');
+       define('SPHINX_INDEX', 'ttrss, delta');
        // Index name in Sphinx configuration. You can specify multiple indexes
        // as a comma-separated string.
+       // Example configuration files are available on tt-rss wiki.
 
        // ***********************************
        // *** Self-registrations by users ***
        // **********************************
        // *** Cookies and login sessions ***
        // **********************************
-       
+
        define('SESSION_COOKIE_LIFETIME', 86400);
-       // Default lifetime of a session (e.g. login) cookie. In seconds, 
+       // 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 and disable "remember me".
-       // Note that if remember me is not checked, session cookie
-       // will always expire with browser session.
-
-       define('SESSION_CHECK_ADDRESS', 1);
-       // Check client IP address when validating session:
-       // 0 - disable checking
-       // 1 - check first 3 octets of an address (recommended)
-       // 2 - check first 2 octets of an address
-       // 3 - check entire address
 
        // *********************************
        // *** Email and digest settings ***
        // *********************************
 
+       // Tiny Tiny RSS sends mail via PHP mail() function, unless handled
+       // by a plugin.
+
+       // If you need SMTP support, take a look here:
+       // https://git.tt-rss.org/fox/ttrss-mailer-smtp
+
        define('SMTP_FROM_NAME', 'Tiny Tiny RSS');
        define('SMTP_FROM_ADDRESS', 'noreply@your.domain.dom');
        // Name, address and subject for sending outgoing mail. This applies
 
        define('DIGEST_SUBJECT', '[tt-rss] New headlines for last 24 hours');
        // Subject line for email digests
-
-       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
+       // Set this to false to disable digests entirely.
 
        // ***************************************
        // *** Other settings (less important) ***
        // ***************************************
 
-       define('CHECK_FOR_NEW_VERSION', true);
-       // Check for new versions of tt-rss automatically.
+       define('CHECK_FOR_UPDATES', true);
+       // Check for updates automatically if running Git version
 
        define('ENABLE_GZIP_OUTPUT', false);
        // Selectively gzip output to improve wire performance. This requires
        // if you experience weird errors and tt-rss failing to start, blank pages
        // after login, or content encoding errors, disable it.
 
-       define('PLUGINS', 'auth_internal, note, updater');
+       define('PLUGINS', '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.
+       // Disabling auth_internal in this list would automatically disable
+       // reset password link on the login form.
+
+       define('LOG_DESTINATION', 'sql');
+       // Error log destination to use. Possible values: sql (uses internal logging
+       // you can read in Preferences -> System), syslog - logs to system log.
+       // Setting this to blank uses PHP logging (usually to http server
+       // error.log).
+       // Note that feed updating daemons don't use this logging facility
+       // for normal output.
 
        define('CONFIG_VERSION', 26);
        // Expected config version. Please update this option in config.php
        // if necessary (after migrating all new options from this file).
 
        // vim:ft=php
-?>