Skip to content

Commit

Permalink
Remove twig cache
Browse files Browse the repository at this point in the history
  • Loading branch information
giggsey committed Oct 2, 2020
1 parent 97e8f3d commit f044345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require __DIR__ . '/vendor/autoload.php';

/* Load Twig */
$twig = new Twig_Environment(new Twig_Loader_Filesystem(__DIR__ . '/templates/'), ['cache' => __DIR__ . '/.twig_cache/']);
$twig = new Twig_Environment(new Twig_Loader_Filesystem(__DIR__ . '/templates/'));

$twig->addGlobal('baseurl', $_SERVER['SCRIPT_NAME']);
$twig->addGlobal('phpversion', phpversion());
Expand Down

0 comments on commit f044345

Please sign in to comment.