82df35a59b
This is a major change for the next release of Miniflux. - There is now only one database that can supports multiple users - There is no automated schema migration for this release - A migration procedure is available in the ChangeLog file
54 lines
1.8 KiB
PHP
54 lines
1.8 KiB
PHP
<?php
|
|
|
|
// HTTP_TIMEOUT => default value is 20 seconds (Maximum time to fetch a feed)
|
|
define('HTTP_TIMEOUT', '20');
|
|
|
|
// HTTP_MAX_RESPONSE_SIZE => Maximum accepted size of the response body in MB (default 2MB)
|
|
define('HTTP_MAX_RESPONSE_SIZE', 2097152);
|
|
|
|
// DATA_DIRECTORY => default is data (writable directory)
|
|
define('DATA_DIRECTORY', __DIR__.'/data');
|
|
|
|
// FAVICON_DIRECTORY => default is favicons (writable directory)
|
|
define('FAVICON_DIRECTORY', DATA_DIRECTORY.DIRECTORY_SEPARATOR.'favicons');
|
|
|
|
// FAVICON_URL_PATH => default is data/favicons/
|
|
define('FAVICON_URL_PATH', 'data/favicons');
|
|
|
|
// DB_FILENAME => default value is db.sqlite (default database filename)
|
|
define('DB_FILENAME', 'db.sqlite');
|
|
|
|
// Enable/disable debug mode
|
|
define('DEBUG_MODE', false);
|
|
|
|
// DEBUG_FILENAME => default is data/debug.log
|
|
define('DEBUG_FILENAME', DATA_DIRECTORY.'/debug.log');
|
|
|
|
// THEME_DIRECTORY => default is themes
|
|
define('THEME_DIRECTORY', 'themes');
|
|
|
|
// SESSION_SAVE_PATH => default is empty (used to store session files in a custom directory)
|
|
define('SESSION_SAVE_PATH', '');
|
|
|
|
// PROXY_HOSTNAME => default is empty (make HTTP requests through a HTTP proxy if set)
|
|
define('PROXY_HOSTNAME', '');
|
|
|
|
// PROXY_PORT => default is 3128 (default port of Squid)
|
|
define('PROXY_PORT', 3128);
|
|
|
|
// PROXY_USERNAME => default is empty (set the proxy username is needed)
|
|
define('PROXY_USERNAME', '');
|
|
|
|
// PROXY_PASSWORD => default is empty
|
|
define('PROXY_PASSWORD', '');
|
|
|
|
// ENABLE_AUTO_UPDATE => default is true (enable Miniflux update from the user interface)
|
|
define('ENABLE_AUTO_UPDATE', true);
|
|
|
|
// SUBSCRIPTION_CONCURRENT_REQUESTS => number of concurrent feeds to refresh at once
|
|
// Reduce this number on systems with limited processing power
|
|
define('SUBSCRIPTION_CONCURRENT_REQUESTS', 5);
|
|
|
|
// Allow the cronjob to be accessible from the browser
|
|
define('ENABLE_CRONJOB_HTTP_ACCESS', true);
|