Перевёрстан faq, удалены лишние файлы, composer-скрипнт для очистки кеша twig
This commit is contained in:
@@ -2,12 +2,28 @@
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
use App\Core\Bootstrapper;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Bootstrap all classes, settings, etc.
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
require '../bootstrap.php';
|
||||
|
||||
// autoload composer packages
|
||||
require '../vendor/autoload.php';
|
||||
|
||||
// load .env parameters
|
||||
Bootstrapper::bootEnv();
|
||||
|
||||
// set up framework according to its config
|
||||
Bootstrapper::bootSettings();
|
||||
|
||||
// set up Twig template engine
|
||||
Bootstrapper::bootTwig();
|
||||
|
||||
// set up routes defined in config file
|
||||
Bootstrapper::bootRoutes();
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user