mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Merge pull request #149 from aharris88/master
Add .gitignore file to ignore backups and error-log
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
error-log.txt
|
||||
backups/*.zip
|
||||
@@ -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']));
|
||||
|
||||
Reference in New Issue
Block a user