forked from supernova-ws/SuperNova
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver_info.php
More file actions
27 lines (21 loc) · 871 Bytes
/
Copy pathserver_info.php
File metadata and controls
27 lines (21 loc) · 871 Bytes
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
<?php
$allow_anonymous = true;
include('common.' . substr(strrchr(__FILE__, '.'), 1));
lng_include('admin');
$template = gettemplate('server_info', true);
$template->assign_vars(array(
'game_speed' => get_game_speed(),
'fleet_speed' => get_fleet_speed(),
'game_build_and_research' => $config->BuildLabWhileRun,
'USER_VACATION_DISABLE' => $config->user_vacation_disable,
'ALLOW_BUFFING' => $config->allow_buffing,
'ALLY_HELP_WEAK' => $config->ally_help_weak,
'DB_VERSION' => DB_VERSION,
'SN_VERSION' => SN_VERSION,
'FLEET_BASHING_ATTACKS' => $config->fleet_bashing_attacks,
'fleet_bashing_interval' => sys_time_human($config->fleet_bashing_interval),
'fleet_bashing_scope' => sys_time_human($config->fleet_bashing_scope),
'fleet_bashing_war_delay' => sys_time_human($config->fleet_bashing_war_delay),
));
display(parsetemplate($template));
?>