Skip to content

Commit

Permalink
config.local.neon
Browse files Browse the repository at this point in the history
  • Loading branch information
juzna committed Aug 2, 2012
1 parent c3eb665 commit 9909286
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 31 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@ libs/*
!libs/.htaccess
temp/
log/
app/config/config.local.neon
3 changes: 2 additions & 1 deletion app/bootstrap.php
Expand Up @@ -25,7 +25,8 @@
->register();

// Create Dependency Injection container from config.neon file
$configurator->addConfig(__DIR__ . '/config/config.neon');
$configurator->addConfig(APP_DIR . '/config/config.neon', FALSE);
$configurator->addConfig(APP_DIR . '/config/config.local.neon', FALSE);
$container = $configurator->createContainer();

// Setup router
Expand Down
49 changes: 19 additions & 30 deletions app/config/config.neon
@@ -1,39 +1,28 @@
#
# SECURITY WARNING: it is CRITICAL that this file & directory are NOT accessible directly via a web browser!
#
# If you don't protect this directory from direct web access, anybody will be able to see your passwords.
# http://nette.org/security-warning
#
common:
parameters:
parameters:

php:
date.timezone: Europe/Prague
# zlib.output_compression: yes
php:
date.timezone: Europe/Prague
# zlib.output_compression: yes


nette:
application:
errorPresenter: Error
nette:
application:
errorPresenter: Error

session:
expiration: 14 days
session:
expiration: 14 days

database:
default:
dsn: 'mysql:host=localhost;dbname=ladenka'
user: root
password:
database:
default:
# Override this settings in config.local.neon
dsn: 'mysql:host=localhost;dbname='
user:
password:


services:
authenticator: Authenticator
recordService: RecordService
services:
authenticator: Authenticator
recordService: RecordService


factories:


production < common:

development < common:
factories:

0 comments on commit 9909286

Please sign in to comment.