File tree Expand file tree Collapse file tree 6 files changed +53
-0
lines changed Expand file tree Collapse file tree 6 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ # see https://symfony.com/doc/current/reference/configuration/framework.html
1
2
framework :
2
3
secret : ' %env(APP_SECRET)%'
3
4
# csrf_protection: true
Original file line number Diff line number Diff line change
1
+ ../5.1/config/
Original file line number Diff line number Diff line change
1
+ {
2
+ "bundles" : {
3
+ "Symfony\\ Bundle\\ FrameworkBundle\\ FrameworkBundle" : [" all" ]
4
+ },
5
+ "copy-from-recipe" : {
6
+ "config/" : " %CONFIG_DIR%/" ,
7
+ "public/" : " %PUBLIC_DIR%/" ,
8
+ "src/" : " %SRC_DIR%/"
9
+ },
10
+ "composer-scripts" : {
11
+ "cache:clear" : " symfony-cmd" ,
12
+ "assets:install %PUBLIC_DIR%" : " symfony-cmd"
13
+ },
14
+ "env" : {
15
+ "APP_ENV" : " dev" ,
16
+ "APP_SECRET" : " %generate(secret)%"
17
+ },
18
+ "gitignore" : [
19
+ " /.env.local" ,
20
+ " /.env.local.php" ,
21
+ " /.env.*.local" ,
22
+ " /%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php" ,
23
+ " /%PUBLIC_DIR%/bundles/" ,
24
+ " /%VAR_DIR%/" ,
25
+ " /vendor/"
26
+ ]
27
+ }
Original file line number Diff line number Diff line change
1
+ ../4.2/post-install.txt
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ use App \Kernel ;
4
+ use Symfony \Component \Dotenv \Dotenv ;
5
+ use Symfony \Component \ErrorHandler \Debug ;
6
+ use Symfony \Component \HttpFoundation \Request ;
7
+
8
+ require dirname (__DIR__ ).'/vendor/autoload.php ' ;
9
+
10
+ (new Dotenv ())->bootEnv (dirname (__DIR__ ).'/.env ' );
11
+
12
+ if ($ _SERVER ['APP_DEBUG ' ]) {
13
+ umask (0000 );
14
+
15
+ Debug::enable ();
16
+ }
17
+
18
+ $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ], (bool ) $ _SERVER ['APP_DEBUG ' ]);
19
+ $ request = Request::createFromGlobals ();
20
+ $ response = $ kernel ->handle ($ request );
21
+ $ response ->send ();
22
+ $ kernel ->terminate ($ request , $ response );
Original file line number Diff line number Diff line change
1
+ ../5.1/src/
You can’t perform that action at this time.
0 commit comments