diff --git a/symfony/framework-bundle/4.2/config/packages/framework.yaml b/symfony/framework-bundle/4.2/config/packages/framework.yaml index 6089f4bd..cad7f780 100644 --- a/symfony/framework-bundle/4.2/config/packages/framework.yaml +++ b/symfony/framework-bundle/4.2/config/packages/framework.yaml @@ -1,3 +1,4 @@ +# see https://symfony.com/doc/current/reference/configuration/framework.html framework: secret: '%env(APP_SECRET)%' #csrf_protection: true diff --git a/symfony/framework-bundle/5.2/config b/symfony/framework-bundle/5.2/config new file mode 120000 index 00000000..71b73f3e --- /dev/null +++ b/symfony/framework-bundle/5.2/config @@ -0,0 +1 @@ +../5.1/config/ \ No newline at end of file diff --git a/symfony/framework-bundle/5.2/manifest.json b/symfony/framework-bundle/5.2/manifest.json new file mode 100644 index 00000000..17fa50af --- /dev/null +++ b/symfony/framework-bundle/5.2/manifest.json @@ -0,0 +1,27 @@ +{ + "bundles": { + "Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "public/": "%PUBLIC_DIR%/", + "src/": "%SRC_DIR%/" + }, + "composer-scripts": { + "cache:clear": "symfony-cmd", + "assets:install %PUBLIC_DIR%": "symfony-cmd" + }, + "env": { + "APP_ENV": "dev", + "APP_SECRET": "%generate(secret)%" + }, + "gitignore": [ + "/.env.local", + "/.env.local.php", + "/.env.*.local", + "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", + "/%PUBLIC_DIR%/bundles/", + "/%VAR_DIR%/", + "/vendor/" + ] +} diff --git a/symfony/framework-bundle/5.2/post-install.txt b/symfony/framework-bundle/5.2/post-install.txt new file mode 120000 index 00000000..943d1280 --- /dev/null +++ b/symfony/framework-bundle/5.2/post-install.txt @@ -0,0 +1 @@ +../4.2/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/5.2/public/index.php b/symfony/framework-bundle/5.2/public/index.php new file mode 100644 index 00000000..3bcee0b1 --- /dev/null +++ b/symfony/framework-bundle/5.2/public/index.php @@ -0,0 +1,22 @@ +bootEnv(dirname(__DIR__).'/.env'); + +if ($_SERVER['APP_DEBUG']) { + umask(0000); + + Debug::enable(); +} + +$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']); +$request = Request::createFromGlobals(); +$response = $kernel->handle($request); +$response->send(); +$kernel->terminate($request, $response); diff --git a/symfony/framework-bundle/5.2/src b/symfony/framework-bundle/5.2/src new file mode 120000 index 00000000..0e2a6e16 --- /dev/null +++ b/symfony/framework-bundle/5.2/src @@ -0,0 +1 @@ +../5.1/src/ \ No newline at end of file