Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz Serwatka committed Jun 28, 2016
2 parents 993167d + 63fc1a6 commit 9ac8009
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 20 deletions.
14 changes: 14 additions & 0 deletions app/config/default_parameters.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# This file contains defaults for optional parameters, which you can override in parameters.yml
parameters:
locale_fallback: en

# Setting for mail system, used by SwiftMailer
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: ~
mailer_password: ~

# One of `legacy` (default) or `solr`
search_engine: legacy

# Solr root endpoint, relevant if `solr` is set as search_engine
solr_dsn: http://localhost:8983/solr

## Logging settings
# Log type is one of "stream", "error_log" or other types supported by monolog
log_type: stream
Expand Down
13 changes: 0 additions & 13 deletions app/config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
parameters:
# A secret key that's used to generate certain security-related tokens
secret: ThisTokenIsNotSoSecretChangeIt
locale_fallback: en

# Setting for mail system, used by SwiftMailer
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: ~
mailer_password: ~

# Settings for database backend used by Doctrine DBAL
# In turn used for Content Repository Persistence, and default database powered search engine
Expand All @@ -18,9 +11,3 @@ parameters:
database_name: ezstudio
database_user: root
database_password:

# One of `legacy` (default) or `solr`
search_engine: legacy

# Solr root endpoint, relevant if `solr` is set as search_engine
solr_dsn: http://localhost:8983/solr
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"___symfony-assets-install": "One of 'symlink', 'relative' (symlinks) or 'hard'",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"keep-outdated": true,
"file": "app/config/parameters.yml"
},
"branch-alias": {
Expand Down
2 changes: 1 addition & 1 deletion doc/apache2/vhost.template
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# Defaults to enabled if SYMFONY_ENV is set to "dev" if env value is omitted or empty
#if[SYMFONY_DEBUG] SetEnv SYMFONY_DEBUG "%SYMFONY_DEBUG%"

# Optional: Whether to use Symfony's HTTP Caching.
# Optional: Whether to use Symfony's builtin HTTP Caching Proxy.
# Disable it if you are using an external reverse proxy (e.g. Varnish)
# Possible values: 0, 1 or ""
# Defaults to disabled if SYMFONY_ENV is set to "dev" or SYMFONY_TRUSTED_PROXIES is set,
Expand Down
12 changes: 6 additions & 6 deletions doc/nginx/vhost.template
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ server {
# Defaults to 0 if omitted, unless SYMFONY_ENV is set to: "dev"
#if[SYMFONY_DEBUG] fastcgi_param SYMFONY_DEBUG "%SYMFONY_DEBUG%";

# Whether to use Symfony's HTTP Caching.
# Optional: Whether to use Symfony's builtin HTTP Caching Proxy.
# Disable it if you are using an external reverse proxy (e.g. Varnish)
# Possible values: 0 or 1
# Defaults to 1 if omitted, unless SYMFONY_ENV is set to: "dev"
#if[SYMFONY_HTTP_CACHE] fastcgi_param SYMFONY_HTTP_CACHE "%SYMFONY_HTTP_CACHE%";

# Whether to use custom HTTP Cache class if SYMFONY_HTTP_CACHE is enabled
# Optional: Whether to use custom HTTP Cache class if SYMFONY_HTTP_CACHE is enabled
# Value must be na autoloadable cache class
# Defaults to "AppCache"
#if[SYMFONY_HTTP_CACHE_CLASS] fastcgi_param SYMFONY_HTTP_CACHE_CLASS "%SYMFONY_HTTP_CACHE_CLASS%";

# Defines the proxies to trust.
# Separate entries by a comma
# Example: "proxy1.example.com,proxy2.example.org"
# By default, no trusted proxies are set
# Optional: Defines the proxies to trust
# Needed when using Varnish as proxy, if so disable SYMFONY_HTTP_CACHE.
# Separate entries by a comma, example: "proxy1.example.com,proxy2.example.org"
# Defaults to not be set if env value is omitted or empty
#if[SYMFONY_TRUSTED_PROXIES] fastcgi_param SYMFONY_TRUSTED_PROXIES "%SYMFONY_TRUSTED_PROXIES%";
}
}
Expand Down

0 comments on commit 9ac8009

Please sign in to comment.