From caa567e9b8eca202a18ed714e02636280e56ebf8 Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Sun, 4 Apr 2021 13:28:19 -0700 Subject: [PATCH] Fix management panel index --- imgboard.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/imgboard.php b/imgboard.php index 634dbd5..056ee82 100644 --- a/imgboard.php +++ b/imgboard.php @@ -770,8 +770,7 @@ if (!isset($_GET['delete']) && !isset($_GET['manage']) && (isset($_POST['name'])

Note: If TinyIB updates and you have made custom modifications, review the changes which have been merged into your installation. Ensure that your modifications do not interfere with any new/modified files. - See the README for more information.

- (alternate link) for instructions.

'; + See the README (alternate link) for instructions.

'; } else { $text .= '

TinyIB was not installed via Git.

If you installed TinyIB without Git, you must update manually. If you did install with Git, ensure the script has read and write access to the .git folder.

'; @@ -948,6 +947,10 @@ if (!isset($_GET['delete']) && !isset($_GET['manage']) && (isset($_POST['name']) $text .= manageChangePasswordForm(); } + + if ($text == '') { + $text = manageStatus(); + } } else { $onload = manageOnLoad('login'); $text .= manageLogInForm();