-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.default.php
52 lines (38 loc) · 1.54 KB
/
config.default.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
50
51
52
<?php
$webroot = 'D:/www/league2/';
//$webroot = '/is/htdocs/wp1144497_5BDDWAFPQY/openclonk/league/';
// MwfAuth path
require_once($_SERVER['DOCUMENT_ROOT'].'/../auth/mwf_auth.php');
require_once('vendor/smarty/smarty/libs/SmartyBC.class.php');
SmartyBC::$_CHARSET = 'ISO-8859-1';
$smarty = new SmartyBC();
$smarty->template_dir = $webroot.'template/';
$smarty->compile_dir = $webroot.'template_c/';
$smarty->cache_dir = $webroot.'cache/';
$smarty->config_dir = $webroot.'configs/';
$smarty->addPluginsDir($webroot.'smarty_plugins/');
// Always disable notices for templates as there are just too many to be useful.
$smarty->error_reporting = error_reporting() ^ E_NOTICE;
$record_folder = $webroot."records/";
unset($webroot);
//$database = new database('127.0.0.1','db1144497-league',geheim,geheim);
$database = new database('127.0.0.1','league2','CC67eWMqKcsHJ8UG','league2');
// Redis as an alternative to apc for flood protection.
//require_once('redis_config.php');
//$redis = create_redis_client();
$debug = FALSE;
$debug_xml_log = FALSE;
$debug_sql_slow_log = FALSE;
$debug_skip_flood_protection = TRUE;
$debug_skip_resource_checksum = TRUE;
$cfg_official_server = array('1.2.3.4','1.2.3.4');
$cfg_settle_on_official_server_only = false;
$cfg_settle_with_latest_engine_only = false;
$cronjob_password = '';
// Set base path with leading and trailing / to get nice urls.
// Will need rewriting by the web server.
$base_path = null;
// Name of the mwf login cookie.
$mwf_cookie = NULL;
//$smarty->assign("helplink",'http://wiki.openclonk.org/w/FAQ');
?>