-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added removewiki.php and updated version
- Loading branch information
Showing
2 changed files
with
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
// Initialize the session | ||
session_start(); | ||
|
||
// Check if the user is logged in, if not then redirect to login page | ||
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ | ||
header("location: login.php"); | ||
exit; | ||
} | ||
|
||
// Include config file | ||
require_once "config.php"; | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<?php include_once("menu.php");?> | ||
<html lang="en"> | ||
<head> | ||
<title>Delete Wiki - MWAdmin</title> | ||
</head> | ||
<body> | ||
<div class="content"> | ||
<h2>Delect a wiki below</h2> | ||
<p>Please select the wiki you wish to delete</p> | ||
</div> | ||
</body> | ||
</html> |