Upgrade LBCAlerte to version 3.3

Add upgrade script
This commit is contained in:
Jimmy Monin
2016-11-26 19:19:16 +01:00
parent a7c054b535
commit 58ffd500e6
89 changed files with 6436 additions and 758 deletions

View File

@ -12,7 +12,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
$auth->setUsername($username)
->setPassword(sha1($password));
if ($auth->authenticate()) {
if ($module == "default" && $action == "login") {
if (isset($_GET["a"]) && $_GET["a"] == "login") {
$redirect = "./";
} else {
$redirect = $_SERVER["REQUEST_URI"];