taktik-nette
This commit is contained in:
44
config/common.neon
Normal file
44
config/common.neon
Normal file
@@ -0,0 +1,44 @@
|
||||
parameters:
|
||||
|
||||
extensions:
|
||||
translation: Contributte\Translation\DI\TranslationExtension
|
||||
|
||||
translation:
|
||||
locales:
|
||||
whitelist: [cs]
|
||||
default: cs
|
||||
fallback: [cs]
|
||||
dirs:
|
||||
- %appDir%/lang
|
||||
returnOriginalMessage: true # to not translate undefined messages, default is true
|
||||
|
||||
|
||||
application:
|
||||
errorPresenter:
|
||||
4xx: Error:Error4xx
|
||||
5xx: Error:Error5xx
|
||||
mapping: App\UI\*\**Presenter
|
||||
|
||||
database:
|
||||
dsn: 'mysql:host=mariadb;dbname=survey;charset=utf8mb4'
|
||||
user: nette
|
||||
password: nette
|
||||
|
||||
latte:
|
||||
strictTypes: yes
|
||||
strictParsing: yes
|
||||
extensions:
|
||||
- App\UI\Accessory\LatteExtension
|
||||
|
||||
session:
|
||||
autoStart: true
|
||||
save_handler: redis
|
||||
save_path: 'tcp://redis?timeout=3'
|
||||
|
||||
services:
|
||||
- App\Repository\SurveyRepository
|
||||
|
||||
di:
|
||||
export:
|
||||
parameters: no
|
||||
tags: no
|
||||
5
config/local.neon
Normal file
5
config/local.neon
Normal file
@@ -0,0 +1,5 @@
|
||||
parameters:
|
||||
debugMode: true
|
||||
tracy:
|
||||
showDebugBar: true
|
||||
strictMode: true
|
||||
10
config/services.neon
Normal file
10
config/services.neon
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
- App\Core\RouterFactory::createRouter
|
||||
|
||||
search:
|
||||
- in: %appDir%
|
||||
classes:
|
||||
- *Facade
|
||||
- *Factory
|
||||
- *Repository
|
||||
- *Service
|
||||
Reference in New Issue
Block a user