From 991908bd8d23608d174db73171c3931fd8084e6e Mon Sep 17 00:00:00 2001 From: aharris88 Date: Fri, 1 Feb 2013 11:56:29 -0600 Subject: [PATCH 1/2] Add elseif onto if statement in lib/settings.php --- lib/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/settings.php b/lib/settings.php index af0b52b..84b3632 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -236,7 +236,7 @@ if ((!$_SESSION['loggedIn'] || $ICEcoder["accountPassword"] == "") && !strpos($_ header('Location: lib/settings.php'); } // If we're due to show the settings screen -if (!$_SESSION['loggedIn']) { +elseif (!$_SESSION['loggedIn']) { // If the password hasn't been set and we're setting it if ($ICEcoder["accountPassword"] == "" && isset($_POST['accountPassword'])) { $password = generateHash(strClean($_POST['accountPassword'])); From 4048895c6b5e48f535484e7bb413515b04814dba Mon Sep 17 00:00:00 2001 From: aharris88 Date: Fri, 1 Feb 2013 11:57:44 -0600 Subject: [PATCH 2/2] Ignore backups and error-log --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..18971e2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +error-log.txt +backups/*.zip