-
Notifications
You must be signed in to change notification settings - Fork 1
/
configuration.php
57 lines (48 loc) · 2.06 KB
/
configuration.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
<?php
require_once "classes/error.php";
//Allow Registration.
define("ALLOW_REGISTER",true);
// Update Server Database
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'main');
define('DB_PASSWORD', '');
define('DB_NAME', 'updatesconsole');
// Finish editing
global $link;
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
if ($link === false) {
Errors::killapp("Database connection could not be successfully established. Application will now stop all processes.", "App Crashed");
}
// Login Server Database
define('DB_SERVER_LOGIN', 'localhost');
define('DB_USERNAME_LOGIN', 'main');
define('DB_PASSWORD_LOGIN', '');
define('DB_NAME_LOGIN', 'appcenter');
// Finish editing
global $loginlink;
$loginlink = mysqli_connect(DB_SERVER_LOGIN, DB_USERNAME_LOGIN, DB_PASSWORD_LOGIN, DB_NAME_LOGIN);
if ($loginlink === false) {
Errors::killapp("Database connection to developer login server could not be successfully established. Application will now stop all processes.", "App Crashed");
}
// Code Required By Skyfallen Code Library Classes
// Edit to your needs
define("API_ENDPOINT","https://devlogin.api.theskyfallen.com/api/");
define("API_TYPE","SKYFALLENAPPCENTERAPI");
define("CONNECTION_INFASTRUCTURE","INTERNET");
define("SANDOX",false);
define("APPNAME","SkyfallenUpdatesConsole");
define("APPID","459d38c4d473e7dfdd464e01b9955eb9");
define("LIVEPATCHING_ENABLED",false);
define("DLDOMAIN","https://updateserver.theskyfallen.com");
define("PANELDOMAIN","https://updatesconsole.theskyfallen.com");
//Update Provider Info
//Please edit for your needs
define("PROVIDER","The Skyfallen Company");
define("PROVIDER_URL","https://theskyfallen.company");
define("PROVIDER_LOCATION","Ankara, Turkey");
define("PROVIDER_OU","Software Distribution");
define("PROVIDER_CONTACT_NAME","Skyfallen Official Support");
define("PROVIDER_CONTACT_EMAIL","[email protected]");
define("PROVIDER_CONTACT_URL","https://help.theskyfallen.com");
define("PROVIDER_INFO","Official Skyfallen Software Update Directory");
define("PROVIDER_TYPE","PUBLIC"); //PUBLIC, PRIVATE, DEVELOPMENT