Skip to content

Commit 809c93c

Browse files
committed
Fixed some wrong merges
1 parent b6dc182 commit 809c93c

File tree

2 files changed

+2
-68
lines changed

2 files changed

+2
-68
lines changed

configuration/override_dir_structure.rst

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -211,62 +211,7 @@ You also need to change the ``extra.public-dir`` option in the
211211
your Symfony project work on your shared host. Another way is to deploy
212212
your application to a directory outside of your web root, delete your
213213
``public_html`` directory, and then replace it with a symbolic link to
214-
<<<<<<< HEAD
215214
the ``public`` dir in your project.
216-
=======
217-
the ``web`` in your project.
218-
219-
.. note::
220-
221-
If you use the AsseticBundle, you need to configure the ``read_from`` option
222-
to point to the correct ``web`` directory:
223-
224-
.. configuration-block::
225-
226-
.. code-block:: yaml
227-
228-
# app/config/config.yml
229-
230-
# ...
231-
assetic:
232-
# ...
233-
read_from: '%kernel.project_dir%/../public_html'
234-
235-
.. code-block:: xml
236-
237-
<!-- app/config/config.xml -->
238-
<?xml version="1.0" encoding="UTF-8"?>
239-
<container xmlns="http://symfony.com/schema/dic/services"
240-
xmlns:assetic="http://symfony.com/schema/dic/assetic"
241-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
242-
xsi:schemaLocation="http://symfony.com/schema/dic/services
243-
http://symfony.com/schema/dic/services/services-1.0.xsd
244-
http://symfony.com/schema/dic/assetic
245-
http://symfony.com/schema/dic/assetic/assetic-1.0.xsd">
246-
247-
<!-- ... -->
248-
<assetic:config read-from="%kernel.project_dir%/../public_html" />
249-
250-
</container>
251-
252-
.. code-block:: php
253-
254-
// app/config/config.php
255-
256-
// ...
257-
$container->loadFromExtension('assetic', [
258-
// ...
259-
'read_from' => '%kernel.project_dir%/../public_html',
260-
]);
261-
262-
Now you just need to clear the cache and dump the assets again and your
263-
application should work:
264-
265-
.. code-block:: terminal
266-
267-
$ php bin/console cache:clear --env=prod
268-
$ php bin/console assetic:dump --env=prod --no-debug
269-
>>>>>>> 3.4
270215

271216
Override the ``vendor`` Directory
272217
---------------------------------

routing/hostname_pattern.rst

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -345,27 +345,16 @@ instance, if you want to match both ``m.example.com`` and
345345
use Symfony\Component\Routing\Route;
346346
347347
$routes = new RouteCollection();
348-
<<<<<<< HEAD
349-
$routes->add('mobile_homepage', new Route('/', array(
350-
'_controller' => 'App\Controller\MainController::mobileHomepage',
351-
=======
352348
$routes->add('mobile_homepage', new Route('/', [
353-
'_controller' => 'AppBundle:Main:mobileHomepage',
354-
>>>>>>> 3.4
349+
'_controller' => 'App\Controller\MainController::mobileHomepage',
355350
'domain' => '%domain%',
356351
], [
357352
'domain' => '%domain%',
358353
], [], 'm.{domain}'));
359354
360-
<<<<<<< HEAD
361-
$routes->add('homepage', new Route('/', array(
362-
'_controller' => 'App\Controller\MainController::homepage',
363-
)));
364-
=======
365355
$routes->add('homepage', new Route('/', [
366-
'_controller' => 'AppBundle:Main:homepage',
356+
'_controller' => 'App\Controller\MainController::homepage',
367357
]));
368-
>>>>>>> 3.4
369358
370359
return $routes;
371360

0 commit comments

Comments
 (0)