2016-09-22 13:56:57 +02:00
|
|
|
imports:
|
|
|
|
|
- { resource: security.yml }
|
|
|
|
|
- { resource: services.yml }
|
|
|
|
|
- { resource: "@JotunheimrAdminBundle/Resources/config/config.yml" }
|
|
|
|
|
- { resource: "@JotunheimrUserBundle/Resources/config/config.yml" }
|
2016-10-18 15:58:53 +02:00
|
|
|
- { resource: "@MineSeekerBundle/Resources/config/config.yml" }
|
2016-09-22 13:56:57 +02:00
|
|
|
- { resource: "@MineSeekerBundle/Resources/config/services.yml" }
|
|
|
|
|
|
|
|
|
|
# Put parameters here that don't need to change on each machine where the app is deployed
|
|
|
|
|
# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
|
|
|
|
|
parameters:
|
|
|
|
|
locale: en
|
2019-10-26 16:51:04 +02:00
|
|
|
mailer_user: 7system7@gmail.com
|
|
|
|
|
mailer_name: Lang
|
2016-09-22 13:56:57 +02:00
|
|
|
|
|
|
|
|
framework:
|
|
|
|
|
#esi: ~
|
|
|
|
|
translator: { fallbacks: ["%locale%"] }
|
|
|
|
|
secret: "%secret%"
|
|
|
|
|
router:
|
|
|
|
|
resource: "%kernel.root_dir%/config/routing.yml"
|
|
|
|
|
strict_requirements: ~
|
|
|
|
|
form: ~
|
|
|
|
|
csrf_protection: ~
|
|
|
|
|
validation: { enable_annotations: true }
|
|
|
|
|
#serializer: { enable_annotations: true }
|
|
|
|
|
templating:
|
|
|
|
|
engines: ['twig']
|
|
|
|
|
default_locale: "%locale%"
|
|
|
|
|
trusted_hosts: ~
|
|
|
|
|
trusted_proxies: ~
|
2019-10-26 16:51:04 +02:00
|
|
|
session: ~
|
2016-12-21 18:46:32 +01:00
|
|
|
# http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
|
2016-10-19 13:27:55 +02:00
|
|
|
# handler_id: session.handler.native_file
|
2016-12-21 16:15:25 +01:00
|
|
|
# save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
|
2019-10-26 16:51:04 +02:00
|
|
|
# handler_id: session.handler.pdo
|
2016-09-22 13:56:57 +02:00
|
|
|
fragments: ~
|
|
|
|
|
http_method_override: true
|
|
|
|
|
assets: ~
|
|
|
|
|
|
|
|
|
|
# Twig Configuration
|
|
|
|
|
twig:
|
|
|
|
|
debug: "%kernel.debug%"
|
|
|
|
|
strict_variables: "%kernel.debug%"
|
2016-12-11 15:10:25 +01:00
|
|
|
globals:
|
2017-01-03 16:11:19 +01:00
|
|
|
version: "0.37.18 (beta7)"
|
2016-12-11 15:10:25 +01:00
|
|
|
facebook_api: "%facebook.api%"
|
2016-12-21 16:15:25 +01:00
|
|
|
facebook_scope: "%facebook.scope%"
|
2016-12-11 15:10:25 +01:00
|
|
|
facebook_api_version: "%facebook.version%"
|
2016-09-22 13:56:57 +02:00
|
|
|
|
|
|
|
|
# Doctrine Configuration
|
|
|
|
|
doctrine:
|
|
|
|
|
dbal:
|
|
|
|
|
driver: pdo_mysql
|
|
|
|
|
host: "%database_host%"
|
|
|
|
|
port: "%database_port%"
|
|
|
|
|
dbname: "%database_name%"
|
|
|
|
|
user: "%database_user%"
|
|
|
|
|
password: "%database_password%"
|
|
|
|
|
charset: UTF8
|
|
|
|
|
# if using pdo_sqlite as your database driver:
|
|
|
|
|
# 1. add the path in parameters.yml
|
|
|
|
|
# e.g. database_path: "%kernel.root_dir%/data/data.db3"
|
|
|
|
|
# 2. Uncomment database_path in parameters.yml.dist
|
|
|
|
|
# 3. Uncomment next line:
|
|
|
|
|
# path: "%database_path%"
|
|
|
|
|
|
|
|
|
|
orm:
|
|
|
|
|
auto_generate_proxy_classes: "%kernel.debug%"
|
|
|
|
|
naming_strategy: doctrine.orm.naming_strategy.underscore
|
|
|
|
|
auto_mapping: true
|
|
|
|
|
|
|
|
|
|
# Assetic Configuration
|
|
|
|
|
assetic:
|
|
|
|
|
debug: "%kernel.debug%"
|
|
|
|
|
use_controller: "%kernel.debug%"
|
|
|
|
|
bundles: ~
|
2016-12-14 15:50:48 +01:00
|
|
|
node: /usr/bin/nodejs
|
2016-09-22 13:56:57 +02:00
|
|
|
filters:
|
|
|
|
|
cssrewrite: ~
|
2016-11-21 13:45:28 +01:00
|
|
|
uglifyjs2:
|
|
|
|
|
bin: "%kernel.root_dir%/../node_modules/uglify-js/bin/uglifyjs"
|
|
|
|
|
no_copyright: true
|
|
|
|
|
uglifycss:
|
|
|
|
|
bin: "%kernel.root_dir%/../node_modules/uglifycss/uglifycss"
|
2016-09-22 13:56:57 +02:00
|
|
|
|
|
|
|
|
# FOS User Configuration
|
|
|
|
|
fos_user:
|
|
|
|
|
db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
|
2016-12-21 16:15:25 +01:00
|
|
|
firewall_name: secured_area
|
2016-09-22 13:56:57 +02:00
|
|
|
user_class: Jotunheimr\UserBundle\Entity\User
|
2019-10-26 16:51:04 +02:00
|
|
|
from_email:
|
|
|
|
|
address: "%mailer_user%"
|
|
|
|
|
sender_name: "%mailer_name%"
|
2016-12-11 18:25:19 +01:00
|
|
|
|
2016-12-21 16:15:25 +01:00
|
|
|
# Facebook OAuth
|
|
|
|
|
hwi_oauth:
|
|
|
|
|
firewall_names: [secured_area]
|
|
|
|
|
resource_owners:
|
|
|
|
|
facebook:
|
|
|
|
|
type: facebook
|
|
|
|
|
client_id: "%facebook.api%"
|
|
|
|
|
client_secret: "%facebook.api-secret%"
|
|
|
|
|
scope: "%facebook.scope%"
|
|
|
|
|
options:
|
|
|
|
|
display: popup
|
|
|
|
|
auth_type: rerequest
|
|
|
|
|
csrf: true
|
|
|
|
|
|
2016-12-14 15:50:48 +01:00
|
|
|
# Slack integration
|
2016-12-11 18:25:19 +01:00
|
|
|
cl_slack:
|
2016-12-14 15:50:48 +01:00
|
|
|
api_token: xoxp-107639806167-107029084564-115427085733-cccaa4f96c89c87ce680c7f22acfd001
|