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

52 lines
1.8 KiB
PHP

;<?php exit(); ?>
[admin]
# 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"
[database]
# File to store SQLite database in.
filename = ".death-notifier.db"
[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
level = 250
[mail]
# Host name of SMTP server to send mail through.
host = "TODO"
# Port of SMTP server to send mail through.
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/"
# 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"