summaryrefslogtreecommitdiff
path: root/tests/settings.php
blob: 050cbfae43693f9c63f3ac7f6bf04d6d3947431c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php 


if (file_exists("../core/auth/.env")) {
    $set = parse_ini_file("../core/auth/.env");
}

echo "<pre>";

print_r([
    'production' => PRODUCTION ?? 'undefined',
    'app_name' => APP_NAME ?? 'undefined',
    'site_title' => SITE_TITLE ?? 'undefined',
    'appRoot' => APP_ROOT,
    'webRoot' => WEB_ROOT,
    'views' => VIEWS_DIRECTORY,
    'init' => INIT_APPLICATION,
    'site_url' => SITE_URL ?? 'undefined',
    'session_name' => SESSION_NAME ?? 'undefined',
    'session_life' => MAX_SESSION_LIFE ?? 'undefined',
    'cookie_secure' => COOKIE_SECURE  ?? 'undefined',
    'cookie_samesite' => COOKIE_SAMESITE ?? 'undefined',
    'default_mai_service' => DEFAULT_MAIL_SERVICE ?? 'undefined',
    'test' => $set['TEST_ME'] ?? 'none',
    'another' => $set['NONONOO'] ?? 'none'
]);

echo "</pre>";