From 1f00915f811a24ba71d7341588765af003ea47b2 Mon Sep 17 00:00:00 2001 From: overflowerror Date: Mon, 29 Jul 2024 22:49:41 +0200 Subject: [PATCH] feat: Add custom user agent for API requests --- credentials.templ.php => config.templ.php | 5 ++++- core.php | 4 +++- lib/database.php | 2 +- lib/request.php | 6 +++++- 4 files changed, 13 insertions(+), 4 deletions(-) rename credentials.templ.php => config.templ.php (64%) diff --git a/credentials.templ.php b/config.templ.php similarity index 64% rename from credentials.templ.php rename to config.templ.php index 2347f3f..5df7c7d 100644 --- a/credentials.templ.php +++ b/config.templ.php @@ -4,4 +4,7 @@ const POSTGRES_HOST = "%DBHOST%"; const POSTGRES_PORT = 5432; const POSTGRES_DBNAME = "%DBNAME%"; const POSTGRES_USER = "%DBUSER%"; -const POSTGRES_PASSWORD = "%DBPASSWORD%"; \ No newline at end of file +const POSTGRES_PASSWORD = "%DBPASSWORD%"; + + +const CONTACT_EMAIL = "%EMAIL%"; \ No newline at end of file diff --git a/core.php b/core.php index e2cd426..c82f963 100644 --- a/core.php +++ b/core.php @@ -1,5 +1,7 @@