Continue Setup
This commit is contained in:
@@ -4,7 +4,7 @@ body {
|
||||
place-items: center;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
background-color: #fafafa;
|
||||
background-image: url("/css/setup.png");
|
||||
}
|
||||
|
||||
.page-content {
|
||||
@@ -69,6 +69,7 @@ button {
|
||||
place-items: center;
|
||||
text-align: center;
|
||||
border: none;
|
||||
border-radius: 20pt;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
|
||||
BIN
front/css/setup.png
Normal file
BIN
front/css/setup.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
@@ -10,11 +10,15 @@
|
||||
* By RootMarc
|
||||
*/
|
||||
|
||||
require "main.php";
|
||||
require "../main.php";
|
||||
|
||||
$mcServ = new mcServ();
|
||||
|
||||
if (!$mcServ->checkConf()) {
|
||||
header("Location: /setup.html");
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!$mcServ->checkLogin()) {
|
||||
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
class mcServ {
|
||||
public function checkConf() {
|
||||
if (!file_exists("../mgServ.db")) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public function checkLogin() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>mgServ // Setup</title>
|
||||
<title>mcServ // Setup</title>
|
||||
<link rel="stylesheet" type="text/css" href="css/setup.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
2
front/test.php
Normal file
2
front/test.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
echo __DIR__;
|
||||
Reference in New Issue
Block a user