This file contains hidden or 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
# app/config_prod.yml | |
# | |
# add the import statement for parameters.ini | |
imports: | |
- { resource: config.yml } | |
- { resource: parameters.ini } | |
... |
This file contains hidden or 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
# app/config_dev.yml | |
# | |
# add the import statement for parameters_dev.ini | |
imports: | |
- { resource: config.yml } | |
- { resource: parameters_dev.ini } | |
framework: | |
router: { resource: "%kernel.root_dir%/config/routing_dev.yml" } |
This file contains hidden or 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
# app/config.yml | |
# | |
# remove the line that imports parameters.ini | |
imports: | |
- { resource: security.yml } | |
framework: | |
#esi: ~ | |
#translator: { fallback: %locale% } |
This file contains hidden or 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
_assetic: | |
resource: . | |
type: assetic | |
_wdt: | |
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml" | |
prefix: /_wdt | |
_profiler: | |
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" |
This file contains hidden or 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
<?php | |
use Symfony\Component\HttpKernel\Kernel; | |
use Symfony\Component\Config\Loader\LoaderInterface; | |
class AppKernel extends Kernel | |
{ | |
public function registerBundles() | |
{ | |
$bundles = array( |
This file contains hidden or 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
database.adapter = <driver> (e.g. pdo_mysql) | |
database.params.host = <host> (e.g. localhost) | |
database.params.username = <user> | |
database.params.password = <password> | |
database.params.dbname = <database name> |
NewerOlder