Mercurial > hg > batmud > maputils
diff www/info.php @ 2033:57ecb49d7b4a
Update the apc functions to use apcu_ prefix.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 26 Jan 2019 01:31:25 +0200 |
parents | 135b2b595e2c |
children | e82ba6f55708 |
line wrap: on
line diff
--- a/www/info.php Sat Jan 26 01:27:14 2019 +0200 +++ b/www/info.php Sat Jan 26 01:31:25 2019 +0200 @@ -33,17 +33,17 @@ " </table>\n". "</div>\n"; -$locTable = apc_fetch("info_locTable"); +$locTable = apcu_fetch("info_locTable"); if (empty($locTable)) { $locTable = mpReadLocationFiles(); - apc_store("info_locTable", $locTable, 3600); + apcu_store("info_locTable", $locTable, 3600); } -$wizTable = apc_fetch("wizTable"); +$wizTable = apcu_fetch("wizTable"); if (empty($wizTable)) { $wizTable = mpReadWizInfoFiles(); - apc_store("wizTable", $wizTable, 3600); + apcu_store("wizTable", $wizTable, 3600); }