blob: 600bfa595a7effb6c77e2a639b1fd756f77d4c02 [file] [log] [blame]
Adrià Vilanova Martínez60524332022-11-20 02:33:56 +01001<?php
2
3class Credentials {
4 public static function servername() {
5 return getenv('DB_SERVERNAME');
6 }
7
8 public static function username() {
9 return getenv('DB_USERNAME');
10 }
11
12 public static function password() {
13 return getenv('DB_PASSWORD');
14 }
15
16 public static function dbname() {
17 return getenv('DB_NAME');
18 }
19
20 public static function usersdb() {
21 return getenv('DB_USERS_DB');
22 }
23
24 public static function mortsdb() {
25 return getenv('DB_MORTS_DB');
26 }
27
28 public static function adminToken() {
29 return getenv('ADMIN_TOKEN');
30 }
31};