-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.php
28 lines (23 loc) · 920 Bytes
/
config.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
<?php
$siteName = 'Vex Panel';
$sitePassword = 'Your Sites Password!'; //Used for upcoming API features (bot)
$oauth_id = '123456789'; // Discord oAuth2 id
$oauth_secret = 'supersecretkey'; // Discord oAuth2 secret
$oauth_url = 'http://localhost/discord.php'; //This is an example
$apikey = 'pterodactylapikey'; // Pterodactyl API Key
$pterodomain = 'pterodactyldomain'; // Pterodactyl Domain
$discordLog = 'true';
$discord_log = 'DISCORD WEBHOOK URL';
$discordBotToken = ''; //Must be in the same application as the oauth system
$guildID = ''; //Autojoin discord server guild id
$serverName = "";
$dBUsername = "";
$dBPassword = "";
$dBName = "";
$conn = mysqli_connect($serverName, $dBUsername, $dBPassword, $dBName);
if (!$conn){
die("Connection Failed. " . mysqli_connect_error());
}
// Do NOT edit below this point.
// Below this point is for contributors, and to gain faster support.
$version = '0.8.9 BETA';