Skip to content

Commit

Permalink
updated composer autoload path
Browse files Browse the repository at this point in the history
  • Loading branch information
bamarni committed Oct 3, 2012
1 parent 91e46f6 commit 799e963
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions book/part04.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ reference in ``front.php``::

// example.com/web/front.php

require_once __DIR__.'/../vendor/.composer/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';

// ...

Expand Down Expand Up @@ -155,7 +155,7 @@ With this knowledge in mind, let's write the new version of our framework::

// example.com/web/front.php

require_once __DIR__.'/../vendor/.composer/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
Expand Down
2 changes: 1 addition & 1 deletion book/part05.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Here is the updated and improved version of our framework::

// example.com/web/front.php

require_once __DIR__.'/../vendor/.composer/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
Expand Down
2 changes: 1 addition & 1 deletion book/part06.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Let's conclude with the new version of our framework::

// example.com/web/front.php

require_once __DIR__.'/../vendor/.composer/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
Expand Down
2 changes: 1 addition & 1 deletion book/part09.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ the registration of a listener for the ``response`` event::

// example.com/web/front.php

require_once __DIR__.'/../vendor/.composer/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';

// ...

Expand Down
2 changes: 1 addition & 1 deletion book/part11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ And the new front controller::

// example.com/web/front.php

require_once __DIR__.'/../vendor/.composer/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
Expand Down
4 changes: 2 additions & 2 deletions book/part12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The front controller code would become more concise::

// example.com/web/front.php

require_once __DIR__.'/../vendor/.composer/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';

use Symfony\Component\HttpFoundation\Request;

Expand Down Expand Up @@ -168,7 +168,7 @@ The front controller is now only about wiring everything together::

// example.com/web/front.php

require_once __DIR__.'/../vendor/.composer/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';

use Symfony\Component\HttpFoundation\Request;

Expand Down

0 comments on commit 799e963

Please sign in to comment.