From ab536a2f1f4503ab06d14ade945091a4d26df278 Mon Sep 17 00:00:00 2001 From: DrMaxNix Date: Thu, 8 Feb 2024 14:57:45 +0100 Subject: [PATCH] :wrench: add env config --- .env.template.php | 28 ++++++++++++++++++++++++++++ .gitignore | 2 ++ init.php | 6 ++++++ 3 files changed, 36 insertions(+) create mode 100644 .env.template.php create mode 100644 init.php diff --git a/.env.template.php b/.env.template.php new file mode 100644 index 0000000..59e9463 --- /dev/null +++ b/.env.template.php @@ -0,0 +1,28 @@ + "smtp.example.com", + + // smtp port + "port" => 587, + + // smtp username + "username" => "noreply@example.com", + + // smtp password + "password" => "topsecret123", + + // whether starttls should be used + // (ssl/tls will be used otherwise) + "starttls" => true + ]; + } +?> diff --git a/.gitignore b/.gitignore index d7e36d0..0ddec4b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ meta.local.php init.local.php + +/.env.php diff --git a/init.php b/init.php new file mode 100644 index 0000000..f6963d5 --- /dev/null +++ b/init.php @@ -0,0 +1,6 @@ +