public function __construct($host, $name, $user, $pass = NULL, $port = NULL) { parent::__construct($host, $name, $user, $pass, $port); $root = front()->registry()->get('path', 'root'); $path = realpath($root . '/cache/database'); $this->_cache = Eden_Cache::i($path); }