diff options
Diffstat (limited to 'config.default.php')
| -rw-r--r-- | config.default.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/config.default.php b/config.default.php index 5d43d7d82..6ea4c7db6 100644 --- a/config.default.php +++ b/config.default.php @@ -3,7 +3,7 @@ # Do not modify this file, which defines default values, # but instead edit `./data/config.php` after the install process is completed, # or edit `./data/config.custom.php` before the install process. -return array( +return [ # Set to `development` to get additional error messages, # or to `production` to get only the most important messages. @@ -94,7 +94,7 @@ return array( # Faster with higher values. Reduce for server with little memory or database issues. 'nb_parallel_refresh' => 10, - 'limits' => array( + 'limits' => [ # Duration in seconds of the login cookie. 'cookie_duration' => FreshRSS_Auth::DEFAULT_COOKIE_DURATION, @@ -125,11 +125,11 @@ return array( # 0 for an unlimited number of accounts # 1 is to not allow user registrations (1 is corresponding to the admin account) 'max_registrations' => 1, - ), + ], # Options used by cURL when making HTTP requests, e.g. when the SimplePie library retrieves feeds. # https://php.net/manual/function.curl-setopt - 'curl_options' => array( + 'curl_options' => [ # Options to disable SSL/TLS certificate check (e.g. for self-signed HTTPS) //CURLOPT_SSL_VERIFYHOST => 0, //CURLOPT_SSL_VERIFYPEER => false, @@ -140,7 +140,7 @@ return array( //CURLOPT_PROXYPORT => 8080, //CURLOPT_PROXYAUTH => CURLAUTH_BASIC, //CURLOPT_PROXYUSERPWD => 'user:password', - ), + ], 'db' => [ @@ -181,7 +181,7 @@ return array( # # See https://phpmailer.github.io/PHPMailer/classes/PHPMailer-PHPMailer-PHPMailer.html#properties 'mailer' => 'mail', // 'mail' or 'smtp' - 'smtp' => array( + 'smtp' => [ 'hostname' => '', // the domain used in the Message-ID header 'host' => 'localhost', // the SMTP server address 'port' => 25, @@ -191,7 +191,7 @@ return array( 'password' => '', 'secure' => '', // '', 'ssl' or 'tls' 'from' => 'root@localhost', - ), + ], # List of enabled FreshRSS extensions. 'extensions_enabled' => [ @@ -212,4 +212,4 @@ return array( '127.0.0.0/8', '::1/128', ] -); +]; |
