Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarvello committed Oct 16, 2023
2 parents 402b0de + e329b98 commit 425a3fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/common/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function autorun($parameters = null)
// Handles login form submission
if (isset($_POST["login_form_do_cancel"])){
header("Location: " . SITEURL);
} else if (isset($_POST["login_form_do_login"])) {
} elseif (isset($_POST["login_form_do_login"])) {
$this->configCookies();
$email = $_POST["email"];
$password = $_POST["password"];
Expand All @@ -61,7 +61,7 @@ protected function autorun($parameters = null)
$returnPage = (isset($_GET["return_link"])) ? SITEURL . "/" . $_GET["return_link"] : SITEURL;
header("Location:". $returnPage);
}
} else if (isset($_POST["login_form_do_logout"])) {
} elseif (isset($_POST["login_form_do_logout"])) {
$this->model->logout();
header("Location:". SITEURL);
} else {
Expand Down
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
![alt tag](https://raw.githubusercontent.com/rcarvello/webmvcframework/master/docs/webmvclogo.png)
<sup>Supported PHP versions from 5.3 to 8.2</sup>
>
>
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rcarvello_webmvcframework&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rcarvello_webmvcframework)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=rcarvello_webmvcframework&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=rcarvello_webmvcframework)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=rcarvello_webmvcframework&metric=bugs)](https://sonarcloud.io/summary/new_code?id=rcarvello_webmvcframework)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=rcarvello_webmvcframework&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=rcarvello_webmvcframework)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=rcarvello_webmvcframework&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=rcarvello_webmvcframework)

# PHP WEB MVC Framework
The package **webmvcframework**, with the acronym of **WebMVC**, is an **object oriented** PHP framework designed using **MVC architectural pattern** for building web-based MySQL applications.
Expand Down

0 comments on commit 425a3fc

Please sign in to comment.