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.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/http/php/config.php b/http/php/config.php
new file mode 100644
index 0000000..6a2d059
--- /dev/null
+++ b/http/php/config.php
@@ -0,0 +1,11 @@
+<?php namespace JoeacNet\Http\Config;
+
+function dbScheme(): string|null
+{
+ return (string) getenv("DB_SCHEME");
+}
+
+function dbPath(): string|null
+{
+ return (string) getenv("DB_PATH");
+}