- function cache_need_update($last_update, $cache_time)
- { $v_last_update = explode(" ", $last_update);
- if(count($v_last_update) == 2)
- { $v_date = explode("-", $v_last_update[0]);
- if(count($v_date) == 3)
- { $v_time = explode(":", $v_last_update[1]);
- if(count($v_time) == 3)
- { if
- ( preg_match("/^[0-9]+$/", $v_date[0])
+ public function cache_need_update($last_update, $cache_time){
+ $v_last_update = explode(" ", $last_update);
+ if(count($v_last_update) == 2){
+ $v_date = explode("-", $v_last_update[0]);
+ if(count($v_date) == 3){
+ $v_time = explode(":", $v_last_update[1]);
+ if(count($v_time) == 3){
+ if(
+ preg_match("/^[0-9]+$/", $v_date[0])