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

Upozornění: Tohle vlákno je hodně staré a informace nemusí být platné pro současné Nette.
talpa
Člen | 44
+
0
-

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.

	->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
Jan Endel
Člen | 1016
+
0
-

Nette\Loaders\RobotLoader je právě ten špatný název, na tomto místě nemohou být lomítka. Na to místo patří pouze robotLoader.

Aurielle
Člen | 1281
+
0
-

RobotLoader v Nette 2.0 do configu vůbec nepatří.