-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-sample.php
40 lines (27 loc) · 921 Bytes
/
config-sample.php
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
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/* URLs */
define( 'SITE', 'http' . ( $_SERVER['HTTPS'] == 'on' ? 's' : '' ) . '://' .
$_SERVER['SERVER_NAME'] . '/' );
define( 'RESOURCE', SITE . 'static/' );
define( 'API', SITE . 'includes/api/' );
/* paths */
define( 'BASE', __DIR__ . '/' );
define( 'PATH', BASE . 'includes/' );
define( 'TEMPLATE', PATH . 'templates/' );
define( 'LANG', BASE . 'languages/' );
define( 'FILES', BASE . 'static/' );
/* Database connection */
define( 'DB_HOST', '***' );
define( 'DB_USER', '***' );
define( 'DB_PASSWORD', '***' );
define( 'DB_NAME', '***' );
define( 'DB_PORT', '***' );
define( 'DB_CHARSET', 'utf8' );
define( 'DB_PREFIX', '' );
/* defaults */
define( 'COOKIE_EXP', time() + 7776000 );
define( 'LOCALE', 'en' );
define( 'LANGUAGES', [ 'en', 'de' ] );
/* API key */
define( 'API_KEY', '***' );
?>