fixed redirect to admin login and minor bug
Fixed redirect to the admin page by actually calling the login function. Also fixed file path of logo in admin.php
This commit is contained in:
@@ -16,7 +16,7 @@ if (!isset($_SESSION["loggedIn"])) {
|
||||
<div class="container-dashboard">
|
||||
<div class="header-with-image">
|
||||
<h2>Admin Dashboard</h2>
|
||||
<img src="img/csg.png" width="100" />
|
||||
<img src="../img/csg.png" width="100" />
|
||||
</div>
|
||||
|
||||
<a href="../php/logout.php" class="logout-btn">Logout</a>
|
||||
|
||||
Reference in New Issue
Block a user