From 5e77d862bf420abbb8df9524f38ce2e59adde2a0 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Tue, 29 Sep 2015 00:42:04 +0200 Subject: [PATCH] Remove twig cache dir --- config/config.php.template | 2 +- global.php | 1 - lib/cache/.gitignore | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 lib/cache/.gitignore diff --git a/config/config.php.template b/config/config.php.template index 000a60d..cea5967 100644 --- a/config/config.php.template +++ b/config/config.php.template @@ -30,7 +30,7 @@ $config = array(); */ // $config['theme'] = 'default'; // Set the theme (defaults to "default") // $config['twig_config'] = array( // Twig settings -// 'cache' => false, // To enable Twig caching change this to CACHE_DIR +// 'cache' => false, // To enable Twig caching change this to a path to a writable directory // 'autoescape' => false, // Autoescape Twig vars // 'debug' => false // Enable Twig debug // ); diff --git a/global.php b/global.php index 02bb91c..9145623 100644 --- a/global.php +++ b/global.php @@ -5,7 +5,6 @@ define('VENDOR_DIR', ROOT_DIR . 'vendor/'); define('PLUGINS_DIR', ROOT_DIR . 'plugins/'); define('THEMES_DIR', ROOT_DIR . 'themes/'); define('CONFIG_DIR', ROOT_DIR . 'config/'); -define('CACHE_DIR', LIB_DIR . 'cache/'); require_once(VENDOR_DIR . 'autoload.php'); diff --git a/lib/cache/.gitignore b/lib/cache/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/lib/cache/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore