/**
  * Set own template directory
  *
  * @param $templateManager
  */
 private function reconfigureTemplateDirs(\Enlight_Template_Manager $templateManager)
 {
     if (!$this->templateDirConfigured) {
         $compileDir = $templateManager->getCompileDir() . 'blocks/';
         $cacheDir = $templateManager->getCacheDir() . 'blocks/';
         $templateManager->setCompileDir($compileDir);
         $templateManager->setCacheDir($cacheDir);
         $this->templateDirConfigured = true;
     }
 }