Skip to content

Commit

Permalink
Merge pull request #17 from lewmilburn/analysis-jlYAb9
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
lewmilburn authored Oct 31, 2023
2 parents ddf5729 + b746b63 commit a1de08a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Web/authentication/sessionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function end(): bool
if ($this->active()) {
session_unset();
session_destroy();

return true;
} else {
return false;
Expand All @@ -32,4 +33,4 @@ public function authTokens(): bool
return false;
}
}
}
}
2 changes: 1 addition & 1 deletion Web/event/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
$am->login($user, $pass);

header('Location: /');
exit;
exit;
4 changes: 2 additions & 2 deletions Web/loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
error_reporting(0);
}

require_once __DIR__ . '/security/encryptionManager.php';
require_once __DIR__ . '/security/inputManager.php';
require_once __DIR__.'/security/encryptionManager.php';
require_once __DIR__.'/security/inputManager.php';

require_once __DIR__.'/data/fileManager.php';
require_once __DIR__.'/data/databaseManager.php';
Expand Down
2 changes: 1 addition & 1 deletion Web/security/inputManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ public function escapeString($string): string
{
return htmlspecialchars($string);
}
}
}

0 comments on commit a1de08a

Please sign in to comment.