Files
web_work/public/index.php
kirill.khorkov d2c15ec37f [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
2026-01-03 11:48:14 +03:00

19 lines
503 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* AETERNA - Единая точка входа MVC приложения
*
* Все запросы перенаправляются сюда через .htaccess
*/
// Определяем константу корневой директории
define('ROOT_PATH', dirname(__DIR__));
// Автозагрузка классов
require_once ROOT_PATH . '/app/Core/App.php';
// Создаем и запускаем приложение
$app = new \App\Core\App();
$app->init()->run();