فهرست منبع

Remove twig cache dir

Daniel Rudolf 9 سال پیش
والد
کامیت
5e77d862bf
3فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 1 1
      config/config.php.template
  2. 0 1
      global.php
  3. 0 2
      lib/cache/.gitignore

+ 1 - 1
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
 // );

+ 0 - 1
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');
 

+ 0 - 2
lib/cache/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore