mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -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
|
@ -1,12 +1,13 @@
|
|||
<?php
|
||||
session_start();
|
||||
|
||||
if (!empty($_SESSION['look'])) {
|
||||
unset($_SESSION['look']);
|
||||
} else {
|
||||
session_destroy();
|
||||
}
|
||||
|
||||
header("Location: /");
|
||||
exit;
|
||||
?>
|
||||
<?php
|
||||
|
||||
session_start();
|
||||
|
||||
if (!empty($_SESSION['look'])) {
|
||||
unset($_SESSION['look']);
|
||||
} else {
|
||||
session_destroy();
|
||||
}
|
||||
|
||||
header("Location: /");
|
||||
exit;
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue