Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08c5e58

Browse files
committed
Updating a few more paths for composer - see#1165
1 parent715eb81 commit08c5e58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎cookbook/symfony1.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ lives inside a bundle (roughly equivalent to a symfony1 plugin) and, by default,
4545
each bundle lives inside the ``src`` directory. In that way, the ``src``
4646
directory is a bit like the ``plugins`` directory in symfony1, but much more
4747
flexible. Additionally, while *your* bundles will live in the ``src/`` directory,
48-
third-party bundlesmay live in the ``vendor/bundles/`` directory.
48+
third-party bundleswill livesomewherein the ``vendor/`` directory.
4949

5050
To get a better picture of the ``src/`` directory, let's first think of a
5151
symfony1 application. First, part of your code likely lives inside one or
@@ -74,8 +74,8 @@ The ``vendor/`` directory is basically equivalent to the ``lib/vendor/``
7474
directory in symfony1, which was the conventional directory for all vendor
7575
libraries and bundles. By default, you'll find the Symfony2 library files in
7676
this directory, along with several other dependent libraries such as Doctrine2,
77-
Twig and Swiftmailer. 3rd party Symfony2 bundlesusuallylive in the
78-
``vendor/bundles/``.
77+
Twig and Swiftmailer. 3rd party Symfony2 bundles live somewhere in the
78+
``vendor/``.
7979

8080
The ``web/`` Directory
8181
~~~~~~~~~~~~~~~~~~~~~~
@@ -142,7 +142,7 @@ look for the ``Sensio`` namespace in the ``vendor/sensio`` directory:
142142
// ...
143143
$loader->registerNamespaces(array(
144144
// ...
145-
'Sensio' => __DIR__.'/../vendor/bundles',
145+
'Sensio' => __DIR__.'/../vendor/sensio/framework-extra-bundle',
146146
));
147147
148148
If the file did *not* live at this exact location, you'd receive a

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp