...
|
...
|
@@ -201,4 +201,12 @@ function wpjam_array_push($array, $data=null, $key=false){ |
|
|
}else{ // 没指定 $key 或者找不到,就直接加到末尾
|
|
|
return array_merge($array, $data);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if (!function_exists('cal_days_in_month'))
|
|
|
{
|
|
|
function cal_days_in_month($calendar, $month, $year)
|
|
|
{
|
|
|
return date('t', mktime(0, 0, 0, $month, 1, $year));
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|