+++ /dev/null
-<?php
-
-use Symfony\Component\Dotenv\Dotenv;
-
-require dirname(__DIR__).'/vendor/autoload.php';
-
-// Load cached env vars if the .env.local.php file exists
-// Run "composer dump-env prod" to create it (requires symfony/flex >=1.2)
-if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV']) {
- foreach ($env as $k => $v) {
- $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v);
- }
-} elseif (!class_exists(Dotenv::class)) {
- throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.');
-} else {
- // load all the .env files
- (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');
-}
-
-$_SERVER += $_ENV;
-$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';
-$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];
-$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';
+++ /dev/null
-framework:
- cache:
- # Unique name of your app: used to compute stable namespaces for cache keys.
- #prefix_seed: your_vendor_name/app_name
-
- # The "app" cache stores to the filesystem by default.
- # The data in this cache should persist between deploys.
- # Other options include:
-
- # Redis
- #app: cache.adapter.redis
- #default_redis_provider: redis://localhost
-
- # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
- #app: cache.adapter.apcu
-
- # Namespaced pools use the above "app" backend by default
- #pools:
- #my.dedicated.cache: null
+++ /dev/null
-web_profiler:
- toolbar: true
- intercept_redirects: false
-
-framework:
- profiler: { only_exceptions: false }
+++ /dev/null
-doctrine:
- dbal:
- url: '%env(resolve:DATABASE_URL)%'
-
- # IMPORTANT: You MUST configure your server version,
- # either here or in the DATABASE_URL env var (see .env file)
- #server_version: '5.7'
-
- # only needed for MySQL
- charset: utf8mb4
- default_table_options:
- collate: utf8mb4_unicode_ci
- orm:
- auto_generate_proxy_classes: true
- naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
- auto_mapping: true
+++ /dev/null
-# see https://symfony.com/doc/current/reference/configuration/framework.html
-framework:
- secret: '%env(APP_SECRET)%'
- #csrf_protection: true
- http_method_override: false
-
- # Enables session support. Note that the session will ONLY be started if you read or write from it.
- # Remove or comment this section to explicitly disable session support.
- session:
- handler_id: null
- cookie_secure: auto
- cookie_samesite: lax
- storage_factory_id: session.storage.factory.native
-
- #esi: true
- #fragments: true
- php_errors:
- log: true
-
-when@test:
- framework:
- test: true
- session:
- storage_factory_id: session.storage.factory.mock_file
+++ /dev/null
-services:
- Google_Client:
- class: Google_Client
- calls:
- - [setDeveloperKey, ['%env(GOOGLE_API_KEY)%']]
- - [setClientId, ['%env(GOOGLE_CLIENT_ID)%']]
- - [setClientSecret, ['%env(GOOGLE_CLIENT_SECRET)%']]
+++ /dev/null
-framework:
- mailer:
- dsn: '%env(MAILER_DSN)%'
+++ /dev/null
-doctrine:
- orm:
- auto_generate_proxy_classes: false
- metadata_cache_driver:
- type: pool
- pool: doctrine.system_cache_pool
- query_cache_driver:
- type: pool
- pool: doctrine.system_cache_pool
- result_cache_driver:
- type: pool
- pool: doctrine.result_cache_pool
-
-framework:
- cache:
- pools:
- doctrine.result_cache_pool:
- adapter: cache.app
- doctrine.system_cache_pool:
- adapter: cache.system
+++ /dev/null
-framework:
- router:
- strict_requirements: null
+++ /dev/null
-framework:
- router:
- utf8: true
+++ /dev/null
-framework:
- validation:
- not_compromised_password: false
+++ /dev/null
-web_profiler:
- toolbar: false
- intercept_redirects: false
-
-framework:
- profiler: { collect: false }
+++ /dev/null
-framework:
- translator:
- default_path: '%kernel.project_dir%/translations'
+++ /dev/null
-twig:
- default_path: '%kernel.project_dir%/templates'
- debug: '%kernel.debug%'
- strict_variables: '%kernel.debug%'
- exception_controller: null
+++ /dev/null
-framework:
- validation:
- email_validation_mode: html5
-
- # Enables validator auto-mapping support.
- # For instance, basic validation constraints will be inferred from Doctrine's metadata.
- #auto_mapping:
- # App\Entity\: []
+++ /dev/null
-<?php
-
-if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
- require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
-}
+++ /dev/null
-#index:
-# path: /
-# controller: App\Controller\DefaultController::index
+++ /dev/null
-_errors:
- resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
- prefix: /_error
+++ /dev/null
-web_profiler_wdt:
- resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
- prefix: /_wdt
-
-web_profiler_profiler:
- resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
- prefix: /_profiler
+++ /dev/null
-when@dev:
- _errors:
- resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
- prefix: /_error
+++ /dev/null
-/dev.decrypt.private.php
+++ /dev/null
-<?php // dev.encrypt.public on Wed, 20 May 2020 13:48:31 +0200
-
-return "\x18\x9B\xF6\x23\x99X\xF8\x80\xB9\xF9o\xA9\xB9\xCA\x2A\x16\x9D\x0B\xF3\xA6\x5E\x10\x11\xC5gJjm\x18\x87\x5E\x08";
+++ /dev/null
-/prod.decrypt.private.php
+++ /dev/null
-<?php // prod.encrypt.public on Wed, 20 May 2020 13:48:52 +0200
-
-return "\xF2HO\x0C4\x03Q\xD8_B_\x91\x95\x2F\xC1sj\xEC\xBF\x9B\xDB\x96\x17\x1BR\x3FGQi\xB8\x26R";
+++ /dev/null
-<?php
-
-use App\Kernel;
-
-require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
-
-return function (array $context) {
- return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
-};