-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcore.php
More file actions
28 lines (23 loc) · 712 Bytes
/
core.php
File metadata and controls
28 lines (23 loc) · 712 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
28
<?php
$default_config = include("default-config.php");
define("MP_PROTOCOL", "3");
if(file_exists("config.php")){
$loaded_config = include("config.php");
foreach ($loaded_config as $key => $value) {
define($key, $value);
}
}
foreach ($default_config as $key => $value) {
if(!defined($key)){
define($key, $value);
}
}
include("src/nbt.class.php");
include("src/utils.php");
include("src/db_manager.php");
include("src/accounts.php");
include("src/sync_info.php");
include("src/listings.php");
include("src/session_manager.php");
include("src/items.php");
?>