[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:
25
docker/apache/vhosts.conf
Normal file
25
docker/apache/vhosts.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin admin@aeterna.local
|
||||
DocumentRoot /var/www/html
|
||||
ServerName localhost
|
||||
|
||||
<Directory /var/www/html>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Логирование
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
# Кодировка по умолчанию
|
||||
AddDefaultCharset UTF-8
|
||||
|
||||
# Типы файлов
|
||||
AddType text/css .css
|
||||
AddType text/less .less
|
||||
AddType text/javascript .js
|
||||
AddType image/svg+xml .svg
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user