/
config.neon
41 lines (32 loc) · 903 Bytes
/
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
#
# 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
#
parameters:
database:
host: 127.0.0.1
dbname: facebookwall_devel
user: facebookwall
password: mojetajneheslo
php:
date.timezone: Europe/Prague
nette:
application:
errorPresenter: Error
mapping:
*: App\*Module\Presenters\*Presenter
session:
expiration: 14 days
database:
dsn: 'mysql:host=%database.host%;dbname=%database.dbname%'
user: %database.user%
password: %database.password%
options: {lazy: yes}
services:
- App\Model\UserManager
- App\RouterFactory
router: @App\RouterFactory::createRouter
- App\Model\FacebookWallposts
- App\Model\FacebookSessionManager(%facebook.appId%, %facebook.appSecret%)