Fibinger Ádám
2020-09-10 f2e0b5357a6f019780773cb87cc5c633b27c88f2
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)