Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 8168c18

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: add hint for symlinked assets in htaccess adding light documentation to security.yml [README] Add DebugBundle to the list updated VENDORS for 2.7.1 updated deps Removed the "_error" path from the sample security.yml file Simplified the security.yml configuration Removed AcmeDemoBundle updated VENDORS for 2.3.30 updated VENDORS for 2.3.29 fix documentation URLs forSensio bundles updated VENDORS for 2.3.28 It's common to need the request, which you get from type-hinting. Adding the use helps to remove a step for users in the future updated VENDORS for 2.3.27 updated VENDORS for 2.3.26
2 parents 4066f99 + 22cabd7 commit 8168c18

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,16 @@ It comes pre-configured with the following bundles:
5353
* [**SensioGeneratorBundle**][13] (in dev/test env) - Adds code generation
5454
capabilities
5555

56+
* **DebugBundle** (in dev/test env) - Adds Debug and VarDumper component
57+
integration
58+
5659
All libraries and bundles included in the Symfony Standard Edition are
5760
released under the MIT or BSD license.
5861

5962
Enjoy!
6063

6164
[1]: http://symfony.com/doc/2.7/book/installation.html
62-
[6]: http://symfony.com/doc/2.7/bundles/SensioFrameworkExtraBundle/index.html
65+
[6]: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
6366
[7]: http://symfony.com/doc/2.7/book/doctrine.html
6467
[8]: http://symfony.com/doc/2.7/book/templating.html
6568
[9]: http://symfony.com/doc/2.7/book/security.html

app/config/security.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
1+
# To get started with security, check out the documentation:
2+
# http://symfony.com/doc/current/book/security.html
13
security:
24

5+
# http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
36
providers:
47
in_memory:
58
memory: ~
69

710
firewalls:
11+
# disables authentication for assets and the profiler, adapt it according to your needs
812
dev:
9-
pattern: ^/(_(profiler|wdt|error)|css|images|js)/
13+
pattern: ^/(_(profiler|wdt)|css|images|js)/
1014
security: false
1115

1216
main:
1317
anonymous: ~
18+
# activate different ways to authenticate
19+
20+
# http_basic: ~
21+
# http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate
22+
23+
# form_login: ~
24+
# http://symfony.com/doc/current/cookbook/security/form_login_setup.html

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"symfony/assetic-bundle": "~2.3",
1616
"symfony/swiftmailer-bundle": "~2.3",
1717
"symfony/monolog-bundle": "~2.4",
18-
"sensio/distribution-bundle": "~3.0,>=3.0.12",
18+
"sensio/distribution-bundle": "~4.0",
1919
"sensio/framework-extra-bundle": "~3.0,>=3.0.2",
2020
"incenteev/composer-parameter-handler": "~2.0"
2121
},

src/AppBundle/Controller/DefaultController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
66
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7+
use Symfony\Component\HttpFoundation\Request;
78

89
class DefaultController extends Controller
910
{

web/.htaccess

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
# to each configured DirectoryIndex file (e.g. index.php, index.html, index.pl).
66
DirectoryIndex app.php
77

8+
# uncomment the following line if you install assets as symlinks
9+
# or run into problems when compiling LESS/Sass/CoffeScript assets
10+
#
11+
# Options FollowSymlinks
12+
813
# Disabling MultiViews prevents unwanted negotiation, e.g. "/app" should not resolve
914
# to the front controller "/app.php" but be rewritten to "/app.php/app".
1015
<IfModule mod_negotiation.c>

0 commit comments

Comments
 (0)