diff --git a/.gitignore b/.gitignore index c76ad8f..22e3ead 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,6 @@ content/pages/termine.md lighttpd.conf newsletter.sqlite config.ini +config.dev.ini +config.prod.ini +events.ini diff --git a/config.example.ini b/config.example.ini new file mode 100644 index 0000000..cce8d48 --- /dev/null +++ b/config.example.ini @@ -0,0 +1,20 @@ +; + +[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 diff --git a/config.ini.example b/config.ini.example deleted file mode 100644 index 4af83f9..0000000 --- a/config.ini.example +++ /dev/null @@ -1,32 +0,0 @@ -; - -[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 \ No newline at end of file