mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 03:16:33 +03:00
556a417dd6
This commit adds support for a new parameter which specifies the type of cache to use for caching. It is specified in config.ini.php: [cache] type = "..." Currently only one type of cache is supported (see /caches). All uses of 'FileCache' were replaced by this configuration option. Note: Caching currently depends on files and folders (due to FileCache). Experience may vary depending on the selected cache type. For now always check if FileCache is working before testing alternative types. References #1000
54 lines
1.5 KiB
PHP
54 lines
1.5 KiB
PHP
; <?php exit; ?> DO NOT REMOVE THIS LINE
|
|
|
|
; This file contains the default settings for RSS-Bridge. Do not change this
|
|
; file, it will be replaced on the next update of RSS-Bridge! You can specify
|
|
; your own configuration in 'config.ini.php' (copy this file).
|
|
|
|
[cache]
|
|
|
|
; Defines the cache type used by RSS-Bridge
|
|
; "file" = FileCache (default)
|
|
type = "file"
|
|
|
|
; Allow users to specify custom timeout for specific requests.
|
|
; true = enabled
|
|
; false = disabled (default)
|
|
custom_timeout = false
|
|
|
|
[admin]
|
|
; Advertise an email address where people can reach the administrator.
|
|
; This address is displayed on the main page, visible to everyone!
|
|
; "" = Disabled (default)
|
|
email = ""
|
|
|
|
[proxy]
|
|
|
|
; Sets the proxy url (i.e. "tcp://192.168.0.0:32")
|
|
; "" = Proxy disabled (default)
|
|
url = ""
|
|
|
|
; Sets the proxy name that is shown on the bridge instead of the proxy url.
|
|
; "" = Show proxy url
|
|
name = "Hidden proxy name"
|
|
|
|
; Allow users to disable proxy usage for specific requests.
|
|
; true = enabled
|
|
; false = disabled (default)
|
|
by_bridge = false
|
|
|
|
[authentication]
|
|
|
|
; Enables authentication for all requests to this RSS-Bridge instance.
|
|
;
|
|
; Warning: You'll have to upgrade existing feeds after enabling this option!
|
|
;
|
|
; true = enabled
|
|
; false = disabled (default)
|
|
enable = false
|
|
|
|
; The username for authentication. Insert this name when prompted for login.
|
|
username = ""
|
|
|
|
; The password for authentication. Insert this password when prompted for login.
|
|
; Use a strong password to prevent others from guessing your login!
|
|
password = ""
|