blob: 20cdde6d10768b3ecb754007f30be73e519d22c1 (
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
|
<?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,
'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>";
|