Skip to content

Instantly share code, notes, and snippets.

@emtii
Last active May 5, 2019 19:44
Show Gist options
  • Save emtii/bc5a8f7ce8a065a83eeb11f245618f42 to your computer and use it in GitHub Desktop.
Save emtii/bc5a8f7ce8a065a83eeb11f245618f42 to your computer and use it in GitHub Desktop.
sw5_config_dev
<?php
return [
// database settings
'db' => [
'host' => 'localhost',
'port' => '3306',
'username' => 'shopware',
'password' => 'shopware',
'dbname' => 'shopware'
],
// backend cache
'cache' => [
'backend' => 'Black-Hole',
'backendOptions' => [],
'frontendOptions' => [
'write_control' => false
]
],
// template cache
'template' => [
'forceCompile' => true,
],
// model cache
'model' => [
'cacheProvider' => 'Array' // supports Apc, Array, Wincache and Xcache
],
// http cache
'httpCache' => [
'enabled' => false,
'debug' => true
],
// frontend error reporting
'front' => [
'showException' => true,
'noErrorHandler' => false
],
// low level php error
'phpsettings' => [
'display_errors' => 1
],
// file mailer config
'mail' => [
'type' => 'file', // makes sure we do not sent external mails
'path' => $this->DocPath().'mails'
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment