Skip to content

Commit

Permalink
・ライセンスファイルの追加
Browse files Browse the repository at this point in the history
・キャッシュの無効化
・tmpディレクトリ生成処理を追加
  • Loading branch information
kokoro912 committed Mar 27, 2016
1 parent 455b26d commit fc8971d
Show file tree
Hide file tree
Showing 4 changed files with 714 additions and 29 deletions.
30 changes: 15 additions & 15 deletions Config/core.php
Expand Up @@ -145,7 +145,7 @@
/**
* Turn off all caching application-wide.
*/
//Configure::write('Cache.disable', true);
Configure::write('Cache.disable', true);

/**
* Enable cache checking.
Expand Down Expand Up @@ -341,22 +341,22 @@
* Configure the cache used for general framework caching. Path information,
* object listings, and translation cache files are stored with this configuration.
*/
Cache::config('_cake_core_', array(
'engine' => $engine,
'prefix' => $prefix . 'cake_core_',
'path' => CACHE . 'persistent' . DS,
'serialize' => ($engine === 'File'),
'duration' => $duration
));
//Cache::config('_cake_core_', array(
// 'engine' => $engine,
// 'prefix' => $prefix . 'cake_core_',
// 'path' => CACHE . 'persistent' . DS,
// 'serialize' => ($engine === 'File'),
// 'duration' => $duration
//));

/**
* Configure the cache for model and datasource caches. This cache configuration
* is used to store schema descriptions, and table listings in connections.
*/
Cache::config('_cake_model_', array(
'engine' => $engine,
'prefix' => $prefix . 'cake_model_',
'path' => CACHE . 'models' . DS,
'serialize' => ($engine === 'File'),
'duration' => $duration
));
//Cache::config('_cake_model_', array(
// 'engine' => $engine,
// 'prefix' => $prefix . 'cake_model_',
// 'path' => CACHE . 'models' . DS,
// 'serialize' => ($engine === 'File'),
// 'duration' => $duration
//));

0 comments on commit fc8971d

Please sign in to comment.