-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.default.php
More file actions
46 lines (34 loc) · 1.25 KB
/
config.default.php
File metadata and controls
46 lines (34 loc) · 1.25 KB
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
<?php
$webroot = __DIR__.'/';
//$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');
$smarty = new SmartyBC();
$smarty->template_dir = $webroot.'template/';
$smarty->compile_dir = $webroot.'template_c/';
$smarty->cache_dir = $webroot.'cache/';
$smarty->config_dir = $webroot.'configs/';
$record_folder = $webroot."records/";
$statistics_db = $webroot."statistics.sqlite";
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.
if (include 'redis_config.php')
{
$redis = create_redis_client();
}
$debug = FALSE;
$debug_xml_log = FALSE;
$debug_sql_slow_log = FALSE;
$debug_skip_backend_checksum = TRUE;
$debug_skip_flood_protection = TRUE;
$debug_skip_session_path = 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 = '';
//$smarty->assign("helplink",'http://wiki.openclonk.org/w/FAQ');
?>