Fix LESS import error and refactor project structure

This commit is contained in:
kirill.khorkov
2026-01-03 18:59:56 +03:00
parent 1bb0fc02e6
commit 4a8d4f8c3f
201 changed files with 891 additions and 14311 deletions

View File

@@ -1,18 +1,9 @@
<?php
/**
* AETERNA - Единая точка входа MVC приложения
*
* Все запросы перенаправляются сюда через .htaccess
*/
// Определяем константу корневой директории
define('ROOT_PATH', dirname(__DIR__));
define('PUBLIC_PATH', __DIR__);
// Автозагрузка классов
require_once ROOT_PATH . '/app/Core/App.php';
// Создаем и запускаем приложение
$app = new \App\Core\App();
$app->init()->run();