public function afterCompile(Nette\PhpGenerator\ClassType $class) { if (!$this->checkTempDir($this->tempDir . '/cache')) { $class->getMethod('initialize')->addBody('Nette\\Caching\\Storages\\FileStorage::$useDirectories = FALSE;'); } }