Service ‚Nette\Loaders\RobotLoader‘: Name contains invalid characters

- talpa
- Člen | 44
stale a stale addDirectory jsem zkousel v ruzne konfiguraci, tak tam to asi
nebude.
Proste to nedohledam. Neslo by vypisovat, ktery NAME je vlastne blby tj. se
spatnyma znakama?
Ja to proste nemuzu najit co se kde deje.
`php $configurator->createRobotLoader()
->addDirectory(__DIR__)
->addDirectory(__DIR__.‚/../libs/AclProj‘)
->register();?>
```
#
# SECURITY WARNING: it is CRITICAL that this file & directory are NOT accessible directly via a web browser!
# https://nette.org/en/security-warning
#
common:
php:
date.timezone: Europe/Prague
services:
Nette\Loaders\RobotLoader:
arguments:
directory: [%appDir%]
run: true
authenticator:
class: AclProj\Security\Authenticator
arguments: ['@database', %security.salt%]
shoppingBasket:
class: Components\ShoppingBasket
arguments: [@session]
database:
class: Nette\Database\Connection(
'%database.driver%:host=%database.host%;dbname=%database.dbname%',
%database.user%, %database.password%, null,
Nette\Database\Reflection\DiscoveredReflection()
)
production < common:
development < common:
constants:
security:
salt: xxxx
page:
basepagename: MPC
catalogcount: 5
adminTemplate: theme
frontTemplate: theme
gallery:
path: /gallery/
parameters:
database:
driver: pqsql
host: localhost
dbname: prac
username: talpa
password: xxx
substitutions:
db: prac
RSS tématu
Téma zavřeno