public function initialize()
 {
     Nette\Caching\Storages\FileStorage::$useDirectories = TRUE;
     $this->getService("session")->exists() && $this->getService("session")->start();
     header('X-Frame-Options: SAMEORIGIN');
 }
 public function initialize()
 {
     date_default_timezone_set('Europe/Prague');
     Nette\Caching\Storages\FileStorage::$useDirectories = TRUE;
     $this->getByType("Nette\\Http\\Session")->exists() && $this->getByType("Nette\\Http\\Session")->start();
     @header('X-Powered-By: Nette Framework');
     @header('Content-Type: text/html; charset=utf-8');
     Nette\Utils\SafeStream::register();
 }
 public function initialize()
 {
     date_default_timezone_set('Europe/Prague');
     Nette\Caching\Storages\FileStorage::$useDirectories = TRUE;
     $this->getByType("Nette\\Http\\Session")->exists() && $this->getByType("Nette\\Http\\Session")->start();
     header('X-Frame-Options: SAMEORIGIN');
     header('X-Powered-By: Nette Framework');
     header('Content-Type: text/html; charset=utf-8');
     Nette\Utils\SafeStream::register();
     Nette\Reflection\AnnotationsParser::setCacheStorage($this->getByType("Nette\\Caching\\IStorage"));
     Nette\Reflection\AnnotationsParser::$autoRefresh = TRUE;
 }
<?php

//netteCache[01]000205a:2:{s:4:"time";s:21:"0.08258400 1318796380";s:9:"callbacks";a:1:{i:0;a:3:{i:0;a:2:{i:0;s:19:"Nette\Caching\Cache";i:1;s:9:"checkFile";}i:1;s:35:"/var/www/ryderix.cz/app/config.neon";i:2;i:1310728190;}}}
// source file /var/www/ryderix.cz/app/config.neon
$container->addService('robotLoader', function ($container) {
    $service = call_user_func(array(0 => 'Nette\\Configurator', 1 => 'createServicerobotLoader'), $container);
    return $service;
}, array(0 => 'run'));
$container->addService('database', function ($container) {
    $class = 'Nette\\Database\\Connection';
    $service = new $class('mysql:host=localhost;dbname=test', 'user', 'password');
    return $service;
}, NULL);
$container->addService('model', function ($container) {
    $class = 'Model';
    $service = new $class($container->getService('database'));
    return $service;
}, NULL);
$container->addService('authenticator', function ($container) {
    $service = call_user_func(array(0 => $container->getService('model'), 1 => 'createAuthenticatorService'), $container);
    return $service;
}, NULL);
date_default_timezone_set('Europe/Prague');
Nette\Caching\Storages\FileStorage::$useDirectories = true;
foreach ($container->getServiceNamesByTag("run") as $name => $foo) {
    $container->getService($name);
}
 public function initialize()
 {
     date_default_timezone_set('Europe/Prague');
     Nette\Bridges\Framework\TracyBridge::initialize();
     $this->getService('events.manager')->createEvent(array('Nette\\DI\\Container', 'onInitialize'))->dispatch($this);
     Tracy\Debugger::$email = '*****@*****.**';
     Tracy\Debugger::$editor = 'sublime';
     Tracy\Debugger::$browser = 'chromium-browser';
     Tracy\Debugger::$strictMode = TRUE;
     Nette\Caching\Storages\FileStorage::$useDirectories = TRUE;
     $this->getByType("Nette\\Http\\Session")->exists() && $this->getByType("Nette\\Http\\Session")->start();
     header('X-Frame-Options: SAMEORIGIN');
     $this->getService('systemModule.initializer');
     $this->getService('usersModule.initializer');
     $this->getService('securityModule.initializer');
     header('X-Powered-By: Nette Framework');
     header('Content-Type: text/html; charset=utf-8');
     Nette\Utils\SafeStream::register();
     Nette\Reflection\AnnotationsParser::setCacheStorage($this->getByType("Nette\\Caching\\IStorage"));
     Nette\Reflection\AnnotationsParser::$autoRefresh = FALSE;
     Doctrine\Common\Annotations\AnnotationRegistry::registerLoader("class_exists");
     Kdyby\Doctrine\Diagnostics\Panel::registerBluescreen($this);
     Kdyby\Doctrine\Proxy\ProxyAutoloader::create('/home/fuca/Projects/www/sportsclub/tests/tmp/proxies', 'Kdyby\\GeneratedProxy')->register();
     Nette\Diagnostics\Debugger::getBlueScreen()->collapsePaths[] = '/home/fuca/Projects/www/sportsclub/vendor/kdyby/doctrine/src/Kdyby/Doctrine';
     Nette\Diagnostics\Debugger::getBlueScreen()->collapsePaths[] = '/home/fuca/Projects/www/sportsclub/vendor/doctrine';
     Nette\Diagnostics\Debugger::getBlueScreen()->collapsePaths[] = '/home/fuca/Projects/www/sportsclub/tests/tmp/proxies';
     Kdyby\Translation\Diagnostics\Panel::registerBluescreen();
     \Tracy\Debugger::setLogger($this->getService('monolog.adapter'));
 }
 public function initialize()
 {
     date_default_timezone_set('Europe/Prague');
     Nette\Caching\Storages\FileStorage::$useDirectories = TRUE;
     $this->session->exists() && $this->session->start();
     header('X-Frame-Options: SAMEORIGIN');
 }