8000 Merge branch '3.0' · symfony/symfony-standard@e1d31fa · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit e1d31fa

Browse files
committed
Merge branch '3.0'
* 3.0: force Composer to use PHP 5.3.3 when updating updated VENDORS for 2.3.37 added a doc link Make use of getParameter() shortcut method do not use php.ini session handler but native file to actually use save_path config
2 parents 34abc7e + 85a41df commit e1d31fa

File tree

4 files changed

+47
-40
lines changed

4 files changed

+47
-40
lines changed

app/config/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ framework:
2626
trusted_hosts: ~
2727
trusted_proxies: ~
2828
session:
29-
# handler_id set to null will use default session handler from php.ini
30-
handler_id: ~
29+
# http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
30+
handler_id: session.handler.native_file
3131
save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
3232
fragments: ~
3333
http_method_override: true

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
4545
]
4646
},
47+
"config": {
48+
"platform": {
49+
"php": "5.5.9"
50+
}
51+
},
4752
"extra": {
4853
"symfony-app-dir": "app",
4954
"symfony-bin-dir": "bin",

composer.lock

Lines changed: 39 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AppBundle/Controller/DefaultController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function indexAction(Request $request)
1515
{
1616
// replace this example code with whatever you need
1717
return $this->render('default/index.html.twig', [
18-
' 48C8 base_dir' => realpath($this->container->getParameter('kernel.root_dir').'/..'),
18+
'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..'),
1919
]);
2020
}
2121
}

0 commit comments

Comments
 (0)
0