forked from NamelessMC/Nameless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrewrite_test.php
29 lines (24 loc) · 904 Bytes
/
rewrite_test.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
<html lang="en">
<head>
<title>Rewrite Test • NamelessMC</title>
<link rel="stylesheet" href="core/assets/vendor/bootstrap/dist/css/bootstrap.min.css">
</head>
<body style="background-color: #eceeef; overflow-y: hidden;">
<div style="text-align: center;">
<br/><br/>
<h1>NamelessMC v2</h1>
<hr/>
<div class="container">
<div class="col-md-6 offset-md-3">
<?php
if (isset($_GET['route']) && $_GET['route'] == '/rewrite_test') {
echo '<div class="alert alert-success">Rewrite enabled!</div>';
} else {
echo '<div class="alert alert-danger">Rewrite disabled!</div>';
}
?>
</div>
</div>
</div>
</body>
</html>