mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
Backend changes & some templates' translation
This commit is contained in:
parent
43d7825b68
commit
dcf849263d
24 changed files with 1136 additions and 1085 deletions
|
@ -21,7 +21,7 @@ function _() {
|
|||
}
|
||||
|
||||
// Check user session
|
||||
if (!isset($_SESSION['user'])) {
|
||||
if (!isset($_SESSION['user'])&&!defined('NO_AUTH_REQUIRED')) {
|
||||
$_SESSION['request_uri'] = $_SERVER['REQUEST_URI'];
|
||||
header("Location: /login/");
|
||||
exit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue