forked from NamelessMC/Nameless
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to test and set friendly URLs in installer
- Loading branch information
Showing
17 changed files
with
124 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php | ||
/* | ||
* Made by Samerton | ||
* https://github.com/NamelessMC/Nameless/ | ||
* NamelessMC version 2.0.0-pr3 | ||
* | ||
* License: MIT | ||
* | ||
* Rewrite test | ||
*/ | ||
?> | ||
<html lang="en"> | ||
<head> | ||
<!-- Page Title --> | ||
<title>Rewrite Test • NamelessMC</title> | ||
|
||
<!-- Global CSS --> | ||
<link rel="stylesheet" href="core/assets/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="core/assets/css/custom.css"> | ||
<link rel="stylesheet" href="core/assets/css/font-awesome.min.css"> | ||
|
||
<style> | ||
html { | ||
overflow-y: scroll; | ||
} | ||
body { | ||
background-color: #eceeef; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div style="text-align:center"> | ||
<br /><br /><br /> | ||
|
||
<h1>NamelessMC v2 <sup><span style="font-size: small;">pre-release</span></sup></h1> | ||
|
||
<hr /> | ||
|
||
<div class="row"> | ||
<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> |