death-notifier/src/main/config.default.ini.php

52 lines
1.8 KiB
PHP
Raw Normal View History

2022-08-09 19:20:02 +02:00
;<?php exit(); ?>
[admin]
2023-09-04 15:04:08 +02:00
# PHC-formatted hash of password for the CLI of `api.php`. You can create one using PHP's `password_hash`. Escaping
# dollar symbols is optional. If set to its default value, or if empty, the CLI is disabled.
cli_password = "REPLACE THIS WITH A SECRET VALUE"
2022-08-09 17:03:49 +02:00
[database]
# File to store SQLite database in.
filename = ".death-notifier.db"
2022-08-09 17:03:49 +02:00
[logger]
# File to store general logs in.
filename = ".death-notifier.log"
# Log level for general log events. See https://seldaek.github.io/monolog/doc/01-usage.html#log-levels
level = 250
[logger_db]
# File to store database logs in.
filename = ".death-notifier.db.log"
# Log level for database log events. See https://seldaek.github.io/monolog/doc/01-usage.html#log-levels
2022-12-12 23:29:44 +01:00
level = 250
2022-08-09 17:03:49 +02:00
[mail]
# Host name of SMTP server to send mail through.
host = "TODO"
# Port of SMTP server to send mail through.
2022-08-09 17:03:49 +02:00
port = TODO
# Username to authenticate with at SMTP server.
username = "TODO"
# Password to authenticate with at SMTP server.
password = "TODO"
# Name to show to recipient.
from_name = "TODO"
[security]
# `true` if and only if insecure file permissions for config files should be tolerated.
allow_config_insecure_permissions = false
[server]
# The path to the directory containing the site's main page.
base_path = "https://example.com/death-notifier/"
2022-12-08 18:37:26 +01:00
# The path at which users can report bugs, or an empty string if there is no such path.
issue_path = ""
# The message to display at the top of all pages. A blank string hides the message.
global_message = ""
[wikipedia]
# Contact information to include in requests to Wikipedia's API. Typically a URL and an email address separated by a
# semicolon. See also https://www.mediawiki.org/wiki/API:Etiquette.
user_agent_contact = "https://example.com/death-notifier; name@example.com"