Ejemplo n.º 1
0
<?php

// phpFastCache Library
require_once dirname(__FILE__) . "/phpfastcache/3.0.0/phpfastcache.php";
// OK, setup your cache
phpFastCache::$config = array("storage" => "auto", "default_chmod" => 0777, "htaccess" => true, "path" => "", "securityKey" => "auto", "memcache" => array(array("127.0.0.1", 11211, 1)), "redis" => array("host" => "127.0.0.1", "port" => "", "password" => "", "database" => "", "timeout" => ""), "extensions" => array(), "fallback" => "files");
// temporary disabled phpFastCache
phpFastCache::$disabled = false;