Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Update sidebar.php
Browse files Browse the repository at this point in the history
  • Loading branch information
breadtf authored Jun 26, 2023
1 parent d59faf3 commit 033a7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/sidebar.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
// If adminEnabled is false, redirect to home page
// This is here because every admin page has the sidebar
if ($configs["adminEnabled" === false){
if ($configs["adminEnabled"] === false){
header("Location: ../index.php");
}
?>
Expand Down

0 comments on commit 033a7b5

Please sign in to comment.