Fibinger Ádám
2019-10-17 a4186ab0762833a4c4dd741e6dd112185efc2272
EOG/Utils/TwigFactory.php
@@ -18,7 +18,7 @@
class TwigFactory
{
   private const CACHE_DIR = SITE_ROOT . 'cache/twig-templates/';
   private const CACHE_DIR = SITE_ROOT . '/cache/twig-templates/';
   /**
    * Visszatér egy beállított Twig_environment -el, amikbe már be van húzva a használt alap függvények
@@ -42,7 +42,7 @@
         $loader = new FilesystemLoader($fileSystemPaths);
      }
      $twigEnvironmentOptions['cache'] = static::CACHE_DIR;
      //$twigEnvironmentOptions['cache'] = static::CACHE_DIR;
      $twigEnvironmentOptions['auto_reload'] = true;
      if (IS_DEV)