-
Notifications
You must be signed in to change notification settings - Fork 3
/
general.config.php
30 lines (22 loc) · 1006 Bytes
/
general.config.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
<?php
//path defines
$sMAINDIR = dirname(__FILE__);
define('PATH_BASE', $sMAINDIR.DIRECTORY_SEPARATOR);
define('PATH_CORE', $sMAINDIR.DIRECTORY_SEPARATOR.'bff'.DIRECTORY_SEPARATOR);
define('PATH_MODULES', PATH_BASE.'modules'.DIRECTORY_SEPARATOR);
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT);
ini_set('display_errors', 1);
ini_set('upload_tmp_dir', PATH_BASE.'temp');
header('Content-type: text/html; charset=UTF-8');
mb_internal_encoding('UTF-8');
date_default_timezone_set('Europe/Minsk'); //+2
define('BFF_LOCALHOST', 0);
define('SITEHOST', 'dobox.local');
define('DB_HOST_SYSGEN', 'localhost');
define('DB_NAME_SYSGEN', 'dobox');
define('DB_USER_SYSGEN', 'dobox');
define('DB_PASS_SYSGEN', 'dobox');
define('DB_PREFIX', 'bff_');
define('BBS_EDITPASS_ENCODE_KEY', '__[asdDs75fsSCFc]&^689[765*&^%$Fh85dd&gFGDfg(^FR__');
define('SITEURL', 'http://'.SITEHOST);
require PATH_BASE.'bff.php';