[MVC] Полная миграция на MVC архитектуру
- Создано ядро MVC: App, Router, Controller, Model, View, Database - Созданы модели: User, Product, Category, Cart, Order - Созданы контроллеры: Home, Auth, Product, Cart, Order, Page, Admin - Созданы layouts и partials для представлений - Добавлены все views для страниц - Настроена маршрутизация с чистыми URL - Обновлена конфигурация Docker и Apache для mod_rewrite - Добавлена единая точка входа public/index.php
This commit is contained in:
15
app/Views/errors/500.php
Normal file
15
app/Views/errors/500.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php $title = 'Ошибка сервера'; ?>
|
||||
|
||||
<div style="text-align: center; padding: 80px 20px;">
|
||||
<h1 style="font-size: 120px; color: #dc3545; margin: 0;">500</h1>
|
||||
<h2 style="color: #453227; margin: 20px 0;">Внутренняя ошибка сервера</h2>
|
||||
<p style="color: #666; margin: 20px 0; max-width: 500px; margin-left: auto; margin-right: auto;">
|
||||
Произошла ошибка при обработке вашего запроса. Мы уже работаем над её устранением.
|
||||
</p>
|
||||
<div style="margin-top: 30px;">
|
||||
<a href="/cite_practica/" class="btn primary-btn" style="display: inline-block; background: #453227; color: white; padding: 12px 30px; border-radius: 4px; text-decoration: none;">
|
||||
<i class="fas fa-home"></i> На главную
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user