summaryrefslogtreecommitdiff
path: root/http/php/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'http/php/config.php')
-rw-r--r--http/php/config.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/http/php/config.php b/http/php/config.php
index 6a2d059..9fee39a 100644
--- a/http/php/config.php
+++ b/http/php/config.php
@@ -1,5 +1,35 @@
<?php namespace JoeacNet\Http\Config;
+function localSmtpFrom(): string|null
+{
+ return (string) getenv("LOCAL_SMTP_FROM");
+}
+
+function localSmtpFromName(): string|null
+{
+ return (string) getenv("LOCAL_SMTP_FROM_NAME");
+}
+
+function localSmtpHost(): string|null
+{
+ return (string) getenv("LOCAL_SMTP_HOST");
+}
+
+function localSmtpPort(): string|null
+{
+ return (string) getenv("LOCAL_SMTP_PORT");
+}
+
+function localSmtpUser(): string|null
+{
+ return (string) getenv("LOCAL_SMTP_USER");
+}
+
+function localSmtpPass(): string|null
+{
+ return (string) getenv("LOCAL_SMTP_PASSWORD");
+}
+
function dbScheme(): string|null
{
return (string) getenv("DB_SCHEME");