Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/andrioid/travian.scrolls.org. Retired project. I got a bit overly engaged in an online game called
Something went wrong. Try again.
12345678910111213141516171819<?php
function fromCache($key) { if (function_exists('apc_fetch') and ($result = @apc_fetch($key))) { return $result; } return false;}
function toCache($key, $data, $ttl=-1) { global $Config; if (!function_exists('apc_store')) { return false; } if ($ttl == -1) { $ttl = 60*60*12; } if (!@apc_store($key, $data, $ttl)) { return false; } return true;}
?>