Example #1
0
File: cache.php Project: azuya/Wi3
 public static function instance($uri = NULL, $lifetime = 3600)
 {
     if (self::$_instance) {
         self::$_instance->save_cache();
     }
     self::$_instance = new Super_Cache($uri, $lifetime);
     return self::$_instance;
 }
Example #2
0
File: init.php Project: azuya/Wi3
<?php

defined('SYSPATH') or die('No direct script access.');
$super_cache = Super_Cache::instance('general');