add server software
This commit is contained in:
15
front/panel/server.php
Normal file
15
front/panel/server.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
require "../main.php";
|
||||
$mcServ = new mcServ();
|
||||
|
||||
if(!$mcServ->checkLogin()) {
|
||||
header("Location: /login.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$path = $_GET["server"];
|
||||
|
||||
if ($path == "create") {
|
||||
die(file_get_contents("src/server/create.html"));
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user