changed config.ini, renamed example file

This commit is contained in:
eclipse 2025-03-19 13:40:01 +01:00
parent 1f8ffb0137
commit a22afad927
3 changed files with 23 additions and 32 deletions

3
.gitignore vendored
View File

@ -5,3 +5,6 @@ content/pages/termine.md
lighttpd.conf lighttpd.conf
newsletter.sqlite newsletter.sqlite
config.ini config.ini
config.dev.ini
config.prod.ini
events.ini

20
config.example.ini Normal file
View File

@ -0,0 +1,20 @@
;<?php die(); ?>
[general]
; do not close with '/''
site_url = https://www.example.com
notificationAddress = mail@example.com
; string concatenated with email address to create a non-recreatable md5 hash
uniqueKey = "some string"
statusCode = "HTTP/1.1 303 See Other"
[smtp]
host = mail.example.com
port = 587
username = smtp_user
password = secretpassword
auth = TRUE
[db]
type = sqlite
sqlite_file = newsletter.sqlite

View File

@ -1,32 +0,0 @@
;<?php die(); ?>
[hash]
uniqueKey = some string
[general]
; do not add ://
protocol = http
;protocol = https
domain = localhost
[smtp]
host = some.mail.host
port = 587
username = smpt_user
password = smtp_pass
auth = TRUE
[db]
sqlite[dsn] = sqlite:path/to/db.sqlite
;mysql[dsn] =
;mysql[host] =
;mysql[port] =
;mysql[username] =
;mysql[password] =
[CalDAV]
server_url = https://some.caldav.host/path/to/dav.php
cal_url = https://some.caldav.host/path/to/dav.php/path/to/calendar
cal_user = caldav_user
cal_pass = caldav_pass