View difference between Paste ID: aEFwwfJn and Rtp4rAB3
SHOW: | | - or go back to the newest paste.
1
# SECURITY WARNING: it is CRITICAL that this file & directory are NOT accessible directly via a web browser!
2
#
3
# If you don't protect this directory from direct web access, anybody will be able to see your passwords.
4
# http://nette.org/security-warning
5
#
6
common:
7
8
        database:
9
                driver: mysql
10
                host: localhost
11
                database: wa
12
                username: wa
13
                password: wa
14
                profiler: TRUE
15
                charset: utf8
16
                lazy: TRUE #spojení se naváže až když je opravdu potřeba :)
17
18
        php: # PHP configuration
19
                date.timezone: Europe/Prague
20
                # session.save_path: "%tempDir%/sessions"
21
                zlib.output_compression: yes
22
                default_charset: "UTF-8"
23
24
        services:
25
26
                database: @Nette\Database\Connection
27
 
28
                authenticator:
29
                        Authenticator( @users ) 
30
31
                robotLoader:
32
                        run: true
33
34
                translator:
35
                        factory: NetteTranslator\Gettext::getTranslator
36
37
        variables:
38
                langDir: %appDir%/lang
39
                lang: cs_CZ
40
41
        factories:
42
                users: Users
43
44
45
46
production < common:
47
48
49
development < common: