/
config.neon
57 lines (42 loc) · 1.16 KB
/
config.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# 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:
php:
date.timezone: Europe/Prague
# session.save_path: "%tempDir%/sessions"
# zlib.output_compression: yes
nette:
session:
expiration: '+ 14 days'
database:
default:
dsn: '%database.driver%:host=%database.host%;dbname=%database.dbname%'
user: %database.user%
password: %database.password%
services:
database: @Nette\Database\Connection
wpAuthenticator:
class: WordPressAuthenticator
factories:
events: Events
members: Members
attendances: Attendances
userBindings: UserBindings
songs: Songs
playlistItems: PlaylistItems
production < common:
includes:
- passwords-production.neon
services:
wpAuthenticator:
arguments: ['/wordpress/', 'http://corale.cz/wordpress/']
development < common:
includes:
- passwords-development.neon
services:
wpAuthenticator:
arguments: ['/corale.cz/wordpress/', 'http://localhost/corale.cz/wordpress/']