Skip to content

Commit 97f9507

Browse files
committed
Merge remote-tracking branch 'origin/2.2' into 2.2
2 parents df16298 + 82832fd commit 97f9507

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

book/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ If there are any issues, correct them now before moving on.
236236
$ rm -rf app/cache/*
237237
$ rm -rf app/logs/*
238238
239-
$ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd' | grep -v root | head -1 | cut -d\ -f1`
240-
$ sudo chmod +a "$APACHEUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
241-
$ sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
239+
$ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd' | grep -v root | head -1 | cut -d\ -f1`
240+
$ sudo chmod +a "$APACHEUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
241+
$ sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
242242
243243
244244
**2. Using Acl on a system that does not support chmod +a**

cookbook/controller/service.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,14 @@ service and use it directly::
180180
// src/Acme/HelloBundle/Controller/HelloController.php
181181
namespace Acme\HelloBundle\Controller;
182182

183+
use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
183184
use Symfony\Component\HttpFoundation\Response;
184185

185186
class HelloController
186187
{
187188
private $templating;
188189

189-
public function __construct($templating)
190+
public function __construct(EngineInterface $templating)
190191
{
191192
$this->templating = $templating;
192193
}

0 commit comments

Comments
 (0)