Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
How to override vendor directory location - fix
  • Loading branch information
gajdaw committed Dec 14, 2014
commit 07f68430a57b05f3f0a11986fa7113e3f51e5362
4 changes: 1 addition & 3 deletions cookbook/configuration/override_dir_structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ In ``app/autoload.php`` you need to modify the path leading to ``vendor/autoload
file::

// app/autoload.php
/**
* @var ClassLoader $loader
*/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now you just need to remove this empty line and everything is ok. Thanks for your quick action each time!

$loader = require '/some/dir/vendor/autoload.php';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add a placeholder comment (// ...) after this line to indicate that we don't show the complete file.


.. tip::
Expand Down