Add stucture

This commit is contained in:
marc-go
2026-01-10 19:10:48 +01:00
parent 7072f11a33
commit c5b149a3d5
3 changed files with 46 additions and 0 deletions

21
front/index.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
/*
_____ _____ _ _
/ ____| / ____| | | | |
_ __ ___ ___| (___ ___ _ ____ _| | ___ _ __ | |_ _ __ ___ | |
| '_ ` _ \ / __|\___ \ / _ \ '__\ \ / / | / _ \| '_ \| __| '__/ _ \| |
| | | | | | (__ ____) | __/ | \ V /| |___| (_) | | | | |_| | | (_) | |
|_| |_| |_|\___|_____/ \___|_| \_/ \_____\___/|_| |_|\__|_| \___/|_|
* By RootMarc
*/
require "main.php";
$mcServ = new mgServ();
if (!$mcServ->checkConf()) {
header("Location: /setup.html");
exit;
}

14
front/main.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
class mcServ {
public function checkConf() {
if (!file_exists("../mgServ.db")) {
return false;
}
return true;
}
public function checkLogin() {
}
}

11
front/setup.html Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>mgServ // Setup</title>
</head>
<body>
<div class=""
</body>
</html>