Skip to content

Instantly share code, notes, and snippets.

@dfritschy
Created October 18, 2013 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dfritschy/7038842 to your computer and use it in GitHub Desktop.
Save dfritschy/7038842 to your computer and use it in GitHub Desktop.
for Jérôme...
imports:
- { resource: parameters.yml }
- { resource: security.yml }
framework:
esi: ~
translator: { fallback: %locale_fallback% }
# The secret parameter is used to generate CSRF tokens
secret: %secret%
router:
resource: "%kernel.root_dir%/config/routing.yml"
strict_requirements: %kernel.debug%
form: ~
csrf_protection:
enabled: true
# Note: changing this will break legacy extensions that rely on the default name to alter AJAX requests
# See https://jira.ez.no/browse/EZP-20783
field_name: ezxform_token
validation: { enable_annotations: true }
templating: { engines: ['twig', 'eztpl'] } #assets_version: SomeVersionScheme
trusted_proxies: ~
trusted_hosts: []
session: ~
# The session name defined here will be overridden by the one defined in your ezpublish.yml, for your siteaccess.
# Defaut session name is "eZSESSID{siteaccess_hash}" (unique session name per siteaccess).
# See ezpublish.yml.example for an example on how to configure this.
fragments: ~
http_method_override: true
# Twig Configuration
twig:
debug: %kernel.debug%
strict_variables: %kernel.debug%
# Assetic Configuration
assetic:
debug: %kernel.debug%
use_controller: false
bundles: [ WebmanufakturSiteDruckformBundle ]
#java: /usr/bin/java
filters:
cssrewrite: ~
#closure:
# jar: %kernel.root_dir%/Resources/java/compiler.jar
#yui_css:
# jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar
ez_publish_legacy:
enabled: true
root_dir: %kernel.root_dir%/../ezpublish_legacy
# Swift Mailer Configuration
swiftmailer:
transport: mail
sender_address: noreply@webmanufaktur.ch
logging: "%kernel.debug%"
parameters:
imports:
- { resource: config.yml }
framework:
router: { resource: "%kernel.root_dir%/config/routing_dev.yml" }
profiler: { only_exceptions: false }
web_profiler:
toolbar: true
intercept_redirects: false
monolog:
handlers:
main:
type: stream
path: %kernel.logs_dir%/%kernel.environment%.log
level: debug
firephp:
type: firephp
level: info
chromephp:
type: chromephp
level: info
assetic:
use_controller: true
imports:
- { resource: config.yml }
# In production environment you should know that the parameters for URL generation
# always pass the requirements. Otherwise it would break your link (or even site with
# strict_requirements = true). So we can disable the requirements check completely for
# enhanced performance with strict_requirements = null.
framework:
router:
strict_requirements: null
#validation:
# cache: apc
#doctrine:
# orm:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: %kernel.logs_dir%/%kernel.environment%.log
level: debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment