Created
July 12, 2011 20:10
-
-
Save codecowboy/1078862 to your computer and use it in GitHub Desktop.
config.yml
This file contains 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: | |
date_format: m/D/y | |
services: | |
gymloop_profile_type: | |
class: Gymloop\CoreBundle\Form\ProfileFormType | |
tags: | |
- { name: form.type, alias: gymloop.profile.type } | |
arguments: [%fos_user.model.user.class%] | |
gymloop_profile_handler: | |
class: Gymloop\CoreBundle\Form\ProfileFormHandler | |
scope: request | |
public: false | |
arguments: [ @fos_user.profile.form, @request, @fos_user.user_manager ] | |
gymloop_registration_handler: | |
class: Gymloop\CoreBundle\Form\RegistrationFormHandler | |
scope: request | |
public: false | |
arguments: [ @fos_user.registration.form, @request, @fos_user.user_manager ] | |
imports: | |
- { resource: parameters.ini } | |
- { resource: security.yml } | |
framework: | |
secret: %secret% | |
charset: UTF-8 | |
router: { resource: "%kernel.root_dir%/config/routing.yml" } | |
form: true | |
csrf_protection: true | |
validation: { enable_annotations: true } | |
templating: { engines: ['twig'] } #assets_version: SomeVersionScheme | |
session: | |
default_locale: %locale% | |
auto_start: true | |
translator: { fallback: en } | |
# Twig Configuration | |
twig: | |
debug: %kernel.debug% | |
strict_variables: %kernel.debug% | |
# Assetic Configuration | |
assetic: | |
debug: %kernel.debug% | |
use_controller: false | |
filters: | |
cssrewrite: ~ | |
# closure: | |
# jar: %kernel.root_dir%/java/compiler.jar | |
# yui_css: | |
# jar: %kernel.root_dir%/java/yuicompressor-2.4.2.jar | |
# Doctrine Configuration | |
doctrine: | |
dbal: | |
driver: %database_driver% | |
host: %database_host% | |
dbname: %database_name% | |
user: %database_user% | |
password: %database_password% | |
charset: UTF8 | |
orm: | |
auto_generate_proxy_classes: %kernel.debug% | |
auto_mapping: true | |
jms_security_extra: | |
secure_controllers: true | |
secure_all_services: false | |
#fos user bundle configuration | |
fos_user: | |
db_driver: orm | |
firewall_name: main | |
user_class: Gymloop\CoreBundle\Entity\User | |
from_email: | |
address: [email protected] | |
sender_name: Gymloop Administrator | |
profile: | |
form: | |
type: gymloop.profile.type | |
handler: gymloop_profile_handler | |
name: fos_user_profile_form | |
validation_groups: [Profile] | |
change_password: | |
form: | |
type: fos_user_change_password | |
handler: fos_user.change_password.form.handler.default | |
name: fos_user_change_password_form | |
validation_groups: [ChangePassword] | |
registration: | |
confirmation: | |
from_email: | |
address: [email protected] | |
sender_name: Gymloop Administrator | |
enabled: true | |
template: FOSUserBundle:Registration:email.txt.twig | |
form: | |
type: fos_user_registration | |
handler: gymloop_registration_handler | |
name: fos_user_registration_form | |
validation_groups: [Registration] | |
resetting: | |
token_ttl: 86400 | |
email: | |
from_email: | |
address: [email protected] | |
sender_name: Gymloop Administrator | |
template: FOSUserBundle:Resetting:email.txt.twig | |
form: | |
type: fos_user_resetting | |
handler: fos_user.resetting.form.handler.default | |
name: fos_user_resetting_form | |
validation_groups: [ResetPassword] | |
encoder: | |
algorithm: sha512 | |
encode_as_base64: false | |
iterations: 1 | |
template: | |
engine: twig | |
theme: form_div_layout.html.twig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment