| Conditions | 1 |
| Paths | 1 |
| Total Lines | 4 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); defined('BASEPATH') or exit('No direct script access allowed'); |
||
| 12 | 119 | public function initiate_cache() { |
|
| 13 | 119 | $this->CI->load->driver('cache', array('adapter' => 'file', 'backup' => 'apc')); //Sadly we can't autoload this with params |
|
| 14 | //FIXME: We would just use APC caching, but it's a bit more tricky to manage with multiple site setups.. |
||
| 15 | 119 | } |
|
| 16 | } |
||
| 17 |