-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.php
49 lines (41 loc) · 1.06 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
ini_set('display_errors', false);
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
$dbms = 'mysqli';
$dbhost = '127.0.0.1';
$dbport = '';
$dbname = 'db_name_here';
$dbuser = 'db_user_here';
$dbpasswd = 'db_pass_here';
$table_prefix = 'gateway_';
$acm_type = 'apc';
$load_extensions = '';
@define('PHPBB_INSTALLED', false);
date_default_timezone_set('UTC');
ini_set('display_errors', true);
if (@$_REQUEST['explain']) {
@define('DEBUG', true);
@define('DEBUG_EXTRA', true);
//ini_set('display_errors',true);
//$dbms = 'mysql_highload';
}
/*
if(
@$_SERVER['HTTP_X_FORWARDED_FOR'] ||
@$_SERVER['HTTP_FORWARDED_FOR'] ||
@$_SERVER['HTTP_X_FORWARDED'] ||
@$_SERVER['HTTP_FORWARDED'] ||
@$_SERVER['HTTP_FORWARDED_FOR'] ||
@$_SERVER['HTTP_FORWARDED_FOR_IP'] ||
@$_SERVER['HTTP_PROXY_CONNECTION'] ||
@$_SERVER['HTTP_CLIENT_IP'] ||
@$_SERVER['CLIENT_IP'] ||
@$_SERVER['FORWARDED_FOR_IP'] ||
@$_SERVER['HTTP_VIA'] ||
@$_SERVER['VIA']
) {
die('No proxies allowed');
} */
?>