setDebugMode(true); //'137.56.141.92'); // enable for your remote IP $configurator->enableDebugger("$root/log"); $configurator->setTempDirectory("$root/temp"); $configurator->createRobotLoader() ->addDirectory("$root/app") ->setCacheStorage(new Nette\Caching\Storages\DevNullStorage) // REMOVE BEFORE FLIGHT ->register(); $configurator ->addConfig("$root/app/config/config.neon") ->addConfig("$root/app/config/config.local.neon"); \Nette\Application\Routers\Route::$defaultFlags |= \Nette\Application\IRouter::SECURED; $container = $configurator->createContainer(); $container->getByType('Nette\Application\Application')->run();