Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Commit

Permalink
Using default image resize engine (GD)
Browse files Browse the repository at this point in the history
* Fixed fixture definition
  • Loading branch information
mmoreram committed Jun 24, 2015
1 parent 2c9c9b6 commit 44a7661
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 9 deletions.
43 changes: 38 additions & 5 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ imports:
# Project-specific configuration
- { resource: config_local.yml }

#
# Framework configuration
#
framework:
secret: "%secret%"
router:
Expand All @@ -37,7 +40,9 @@ framework:
translator:
fallback: "%locale%"

#
# Twig Configuration
#
twig:
debug: "%kernel.debug%"
strict_variables: false
Expand All @@ -48,7 +53,9 @@ twig:
store: @elcodi.store
store_tracker: @elcodi.store_tracker

#
# Doctrine Configuration
#
doctrine:
dbal:
connections:
Expand All @@ -68,7 +75,9 @@ doctrine:
connection: default
auto_mapping: false

#
# Assetic Configuration
#
assetic:
bundles:
- AdminCoreBundle
Expand All @@ -81,23 +90,34 @@ assetic:
filters:
cssrewrite: ~

#
# Swiftmailer Configuration
#
swiftmailer:
transport: "%mailer_transport%"
host: "%mailer_host%"
username: "%mailer_user%"
password: "%mailer_password%"
spool: { type: memory }

#
# Disabling auto converter for annotations in Sensio Framework Extra Bundle
#
sensio_framework_extra:
request:
converters: false

#
# By default, ControllerExtraBundle works with $factory->create()
#
controller_extra:
factory:
default_method: create
default_static: false

#
# Oauth configuration
#
hwi_oauth:
firewall_name: %bamboo_store_firewall%
resource_owners:
Expand All @@ -112,6 +132,9 @@ hwi_oauth:
options:
sandbox: %bamboo_social_paypal_client_is_sandbox%

#
# Dynamic routing configuration
#
jms_i18n_routing:
strategy: prefix_except_default
#
Expand All @@ -135,12 +158,16 @@ http_headers:
- This E-commerce is built using Elcodi and Symfony

#
# Elcodi related configuration
# Elcodi media resize adapter. By default, Bamboo uses internal PHP GD adapter,
# but there are more available adapters. You can configure them by changing here
# the value
#
# elcodi_media:
# images:
# resize:
# adapter: elcodi.media_resize.imagemagick
# converter_bin_path: /usr/bin/convert
#
elcodi_media:
images:
resize:
converter_bin_path: %imagick_convert_bin_path%

#
# Location manager. If your location is going to be managed through another
Expand All @@ -160,6 +187,9 @@ elcodi_media:
# location_api_host: http://my.server:9090
#

#
# Defining the template renderers for Elcodi
#
elcodi_page:
renderers:
- elcodi_common.renderer.template_renderer
Expand All @@ -175,6 +205,9 @@ store_core:
404: Exception:error404.html.twig
503: Exception:error503.html.twig

#
# Number of posts for the blog
#
store_page:
blog:
posts_per_page: 5
6 changes: 2 additions & 4 deletions app/config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,15 @@ parameters:
debug_toolbar: true
debug_redirects: false

paypal_web_checkout_recipient: [email protected]

bamboo_social_github_client_id: github-client-id
bamboo_social_github_client_secret: github-client-secret

bamboo_social_paypal_client_id: paypal-client-id
bamboo_social_paypal_client_secret: paypal-client-secret
bamboo_social_paypal_client_is_sandbox: true

paypal_web_checkout_recipient: [email protected]

bamboo_admin_prefix: admin
bamboo_api_prefix: api
bamboo_store_firewall: store_area

imagick_convert_bin_path: /usr/bin/convert
1 change: 1 addition & 0 deletions src/Elcodi/Fixtures/DataFixtures/ORM/Coupon/CouponData.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public function getDependencies()
return [
'Elcodi\Fixtures\DataFixtures\ORM\Currency\CurrencyData',
'Elcodi\Fixtures\DataFixtures\ORM\Rule\RuleData',
'Elcodi\Fixtures\DataFixtures\ORM\Store\StoreData',
];
}
}

0 comments on commit 44a7661

Please sign in to comment.