-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompatibilityCore.php
59 lines (43 loc) · 1.73 KB
/
compatibilityCore.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
53
54
55
56
57
58
59
<?php
/*
HonestRepair Diablo Engine - Compatibility Core
https://www.HonestRepair.net
https://github.com/zelon88
Licensed Under GNU GPLv3
https://www.gnu.org/licenses/gpl-3.0.html
Author: Justin Grimes
Date: 4/11/2022
<3 Open-Source
The Compatibility Core handles engine maintanence, updates & compatibility-related modifications.
*/
global $ConfigIsLoaded, $EngineVersion;
// / ----------------------------------------------------------------------------------
// / Make sure the core is loaded.
if (!isset($ConfigIsLoaded) or $ConfigIsLoaded !== TRUE) die('ERROR!!! compatibilityCore: The requested application is currently unavailable.'.PHP_EOL);
// / ----------------------------------------------------------------------------------
// / ----------------------------------------------------------------------------------
// / Specify the engine version.
$EngineVersion = 'v0.9.7';
// / ----------------------------------------------------------------------------------
// / ----------------------------------------------------------------------------------
// / The following code sets the functions for the session.
// / A function for downloading an engine update.
function downloadMainUpdate() {
}
// / A function for installing an engine update.
function installMainUpdate() {
}
// / A function for cleaning up after an engine update.
function cleanMainUpdate() {
}
// / A function for checking compatibility after an engine update.
function compatMainCheck() {
}
// / A function for automatically updating the engine.
function automaticMainUpdate() {
downloadMainUpdate();
installMainUpdate();
cleanMainUpdate();
compatMainCheck();
}
// / ----------------------------------------------------------------------------------