Created
October 23, 2012 14:35
-
-
Save emodric/3939107 to your computer and use it in GitHub Desktop.
ezp5 configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| imports: | |
| - { resource: parameters.yml } | |
| - { resource: security.yml } | |
| framework: | |
| esi: { enabled: true } | |
| #translator: { fallback: %locale% } | |
| # The secret parameter is used to generate CSRF tokens | |
| secret: %secret% | |
| router: { resource: "%kernel.root_dir%/config/routing.yml" } | |
| form: true | |
| csrf_protection: false | |
| validation: { enable_annotations: true } | |
| templating: { engines: ['twig'] } #assets_version: SomeVersionScheme | |
| session: | |
| # Use the following line to get session name per siteaccess | |
| # name: "eZSESSID{siteaccess_hash}" | |
| name: %session_name% | |
| # Requirements for less parser | |
| # Mac OS X: | |
| # Install Node.js | |
| # $ sudo port install node | |
| # Install npm | |
| # $ sudo port install npm | |
| # Install less via npm, but globally | |
| # $ sudo npm install -g less | |
| assetic: | |
| debug: %kernel.debug% | |
| use_controller: false | |
| filters: | |
| less: | |
| node: /opt/local/bin/node | |
| node_paths: [/opt/local/lib/node_modules] | |
| ez_publish_legacy: | |
| enabled: true | |
| root_dir: %kernel.root_dir%/ezpublish_legacy | |
| parameters: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| imports: | |
| - { resource: config.yml } | |
| framework: | |
| router: { resource: "%kernel.root_dir%/config/routing_dev.yml" } | |
| profiler: { only_exceptions: false } | |
| web_profiler: | |
| toolbar: true | |
| position: bottom | |
| intercept_redirects: false | |
| # Requirements for less parser | |
| # Mac OS X: | |
| # Install Node.js | |
| # $ sudo port install node | |
| # Install npm | |
| # $ sudo port install npm | |
| # Install less via npm, but globally | |
| # $ sudo npm install -g less | |
| assetic: | |
| use_controller: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ezpublish: | |
| siteaccess: | |
| # Available siteaccesses | |
| list: | |
| - eng | |
| - administration | |
| # Siteaccess groups. Use them to group common settings. | |
| groups: | |
| default_group: [eng, administration] | |
| default_siteaccess: eng | |
| match: | |
| Map\URI: | |
| eng: eng | |
| administration: administration | |
| # System settings, grouped by siteaccess and/or siteaccess group | |
| system: | |
| default_group: | |
| database: | |
| type: mysql | |
| user: root | |
| password: | |
| server: localhost | |
| database_name: ezpublish5 | |
| languages: [eng-GB] | |
| eng: | |
| content: | |
| view_cache: false | |
| ttl_cache: false | |
| default_ttl: 30 | |
| location_view: | |
| full: | |
| smallFolder: | |
| template: eZDemoBundle:full:small_folder.html.twig | |
| match: | |
| Identifier\ContentType: small_folder | |
| Identifier\ParentContentType: [landing_page, frontpage] | |
| administration: | |
| # Bypass UrlAliasRouter to use the admin interface since everything needs to run via the legacy kernel | |
| url_alias_router: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parameters: | |
| secret: ThisTokenIsNotSoSecretChangeIt | |
| # The session name. | |
| # Using "{siteaccess_hash}" in the session name will make the session relative to the siteaccess. | |
| session_name: "eZSESSID{siteaccess_hash}" | |
| ezpublish_legacy.view.default_layout: eZDemoBundle::pagelayout.html.twig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| security: | |
| encoders: | |
| Symfony\Component\Security\Core\User\User: plaintext | |
| role_hierarchy: | |
| ROLE_ADMIN: ROLE_USER | |
| ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] | |
| providers: | |
| ezpublish: | |
| id: ezpublish.security.user_provider | |
| # in_memory: | |
| # memory: | |
| # users: | |
| # user: { password: userpass, roles: [ 'ROLE_USER' ] } | |
| # admin: { password: adminpass, roles: [ 'ROLE_ADMIN' ] } | |
| firewalls: | |
| dev: | |
| pattern: ^/(_(profiler|wdt)|css|images|js)/ | |
| security: false | |
| ezpublish_setup: | |
| pattern: ^/ezsetup | |
| security: false | |
| ezpublish_rest: | |
| pattern: ^/api/ezp/v2 | |
| stateless: true | |
| ezpublish_http_basic: | |
| realm: eZ Publish REST API | |
| ezpublish_front: | |
| pattern: ^/ | |
| ezpublish: true | |
| # secured_area: | |
| # pattern: ^/demo/secured/ | |
| # form_login: | |
| # check_path: /demo/secured/login_check | |
| # login_path: /demo/secured/login | |
| # logout: | |
| # path: /demo/secured/logout | |
| # target: /demo/ | |
| #anonymous: ~ | |
| #http_basic: | |
| # realm: "Secured Demo Area" | |
| access_control: | |
| #- { path: ^/_internal/secure, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment