Files
citrus-cms/app/Functions/id_cache.php
T
2026-04-28 21:14:25 +03:00

14 lines
241 B
PHP

<?php function get_cache_id($prefix) {
$lastId = 0;
if(Cache::has($prefix)) {
$lastId = Cache::get($prefix);
}
return $lastId;
}
function set_cache_id($prefix, $lastId) {
Cache::put($prefix, $lastId);
}
?>