Fix
This commit is contained in:
@@ -29,7 +29,7 @@ if (isset($_GET['quick_login'])) {
|
||||
}
|
||||
|
||||
session_start();
|
||||
require_once __DIR__ . '/../config/database.php';
|
||||
require_once __DIR__ . '/config/database.php';
|
||||
|
||||
if (isset($_SESSION['isLoggedIn']) && $_SESSION['isLoggedIn'] === true) {
|
||||
header('Location: catalog.php');
|
||||
@@ -102,6 +102,7 @@ if (isset($_GET['quick_register'])) {
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<base href="/cite_practica/">
|
||||
<title>AETERNA - Регистрация</title>
|
||||
<link rel="stylesheet/less" type="text/css" href="style_for_cite.less">
|
||||
<script src="https://cdn.jsdelivr.net/npm/less"></script>
|
||||
@@ -212,10 +213,10 @@ if (isset($_GET['quick_register'])) {
|
||||
<a href="javascript:void(0)" onclick="checkAuth('checkout.php')" class="icon">
|
||||
<i class="fas fa-shopping-cart"></i>
|
||||
</a>
|
||||
<a href="/login.php" class="icon">
|
||||
<a href="login.php" class="icon">
|
||||
<i class="far fa-user"></i>
|
||||
</a>
|
||||
<a href="/login.php" style="font-size: 12px; color: #666; margin-left: 5px;">
|
||||
<a href="login.php" style="font-size: 12px; color: #666; margin-left: 5px;">
|
||||
Войти
|
||||
</a>
|
||||
</div>
|
||||
@@ -348,7 +349,7 @@ if (isset($_GET['quick_register'])) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="/login.php" class="password-link" style="display: block; margin: 15px 0; text-align: center; color: #453227;">
|
||||
<a href="login.php" class="password-link" style="display: block; margin: 15px 0; text-align: center; color: #453227;">
|
||||
Уже есть аккаунт? Войти
|
||||
</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user