diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-04 15:12:26 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-04 15:12:26 +0100 |
| commit | e4cd434586f40e232bc8536aacdc05cc5fae1119 (patch) | |
| tree | 406b577b779c5d86f40d746a99ee9864e604aa40 /http/php/config.php | |
| parent | 38370c101f1c6590052d5b13221eb4913a938da7 (diff) | |
adds db.php
Diffstat (limited to 'http/php/config.php')
| -rw-r--r-- | http/php/config.php | 11 |
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"); +} |
