Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/nullpo. a private forum from a long time ago www.nullpo.cc
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156<?php/**** @package acm* @version $Id: acm_null.php 9891 2009-07-29 22:59:51Z bantu $* @copyright (c) 2005, 2009 phpBB Group* @license http://opensource.org/licenses/gpl-license.php GNU Public License**/
/*** @ignore*/if (!defined('IN_PHPBB')){ exit;}
/*** ACM Null Caching* @package acm*/class acm{ /** * Set cache path */ function acm() { }
/** * Load global cache */ function load() { return true; }
/** * Unload cache object */ function unload() { }
/** * Save modified objects */ function save() { }
/** * Tidy cache */ function tidy() { // This cache always has a tidy room. set_config('cache_last_gc', time(), true); }
/** * Get saved cache object */ function get($var_name) { return false; }
/** * Put data into cache */ function put($var_name, $var, $ttl = 0) { }
/** * Purge cache data */ function purge() { }
/** * Destroy cache data */ function destroy($var_name, $table = '') { }
/** * Check if a given cache entry exist */ function _exists($var_name) { return false; }
/** * Load cached sql query */ function sql_load($query) { return false; }
/** * Save sql query */ function sql_save($query, &$query_result, $ttl) { }
/** * Ceck if a given sql query exist in cache */ function sql_exists($query_id) { return false; }
/** * Fetch row from cache (database) */ function sql_fetchrow($query_id) { return false; }
/** * Fetch a field from the current row of a cached database result (database) */ function sql_fetchfield($query_id, $field) { return false; }
/** * Seek a specific row in an a cached database result (database) */ function sql_rowseek($rownum, $query_id) { return false; }
/** * Free memory used for a cached database result (database) */ function sql_freeresult($query_id) { return false; }}
?>