ChangeLog_develop: OpenPNE_2_5_0_to_2_5_1.patch
| File OpenPNE_2_5_0_to_2_5_1.patch, 46.0 kB (added by takanashi, 4 years ago) |
|---|
-
webapp_biz/modules/biz/do/fh_biz_schedule_edit.php
old new 122 122 biz_editSchedule($requests['sc_title'], $u, $begin_date, $finish_date, $begin_time, $finish_time, $requests['sc_memo'], $rp_rule, 0, $requests['sc_j_mem'], $requests['sc_j_plc'], $requests['schedule_id']); 123 123 $schedule_id = $requests['schedule_id']; 124 124 } else { 125 $schedule_id = $requests['schedule_id'];126 biz_deleteSchedule($schedule_id);127 128 125 //終了日の決定 129 $finish_date = date("Y-m-d", strtotime($requests['sc_b_year'].'-'.$requests['sc_b_month'].'-'.($requests['sc_b_date']+($requests['sc_rcount'])*7))); 130 126 $finish_date = date("Y-m-d", strtotime($begindate . ' +' . (7 * $requests['sc_rcount']) . 'days')); 131 127 //繰り返しルールの決定 132 128 foreach ($requests['sc_rwk'] as $value) { 133 129 $rp_rule += 1 << $value; 134 130 } 135 131 136 132 //繰り返し予定 137 $tmp = $begin_date; //処理中の日付133 $tmp = strtotime($begin_date); //処理中の日付 138 134 139 135 if ($requests['iskeep']) { 140 136 //繰り返し予定グループの維持(同予定から派生した繰り返し予定を一斉に編集) … … 146 142 147 143 $first_id = biz_getScheduleMax() + 1; //登録される予定のプライマリキー 148 144 149 for ($i = 0; date("Ymd", strtotime($tmp)) < date("Ymd", strtotime($finish_date)); $i++) {145 for ($i = 0; $tmp < strtotime($finish_date); $i++) { 150 146 //終了日に達するまで新規予定追加を繰り返す 151 $nowday = strtotime($ requests['sc_b_year'].'-'.$requests['sc_b_month'].'-'.($requests['sc_b_date']+$i));152 $tmp = date("Ymd", $nowday);153 147 $nowday = strtotime($begin_date . ' +'.$i.'days'); 148 $tmp = $nowday; 149 154 150 if ($rp_rule & (1 << date("w", $nowday))) { 155 biz_insertSchedule($requests['sc_title'], $u, $tmp, $tmp, $begin_time, $finish_time, $requests['sc_memo'], $rp_rule, $first_id, $requests['sc_j_mem']);151 biz_insertSchedule($requests['sc_title'], $u, date("Y-m-d", $tmp), date("Y-m-d", $tmp), $begin_time, $finish_time, $requests['sc_memo'], $rp_rule, $first_id, $requests['sc_j_mem']); 156 152 } 157 153 } 158 154 … … 160 156 } 161 157 $week = date("W", abs(strtotime($begin_date) - strtotime(date("Y-m-d")))) - 1; 162 158 163 $p = array('w' => $week, 'msg' => '予定を編集しました。', 'id' => $schedule_id); 159 if (in_array($u,$requests['sc_j_mem'])) { 160 $target_id = $u; 161 } else { 162 $target_id = $requests['sc_j_mem'][0]; 163 } 164 $p = array('w' => $week, 'msg' => '予定を編集しました。', 165 'id' => $schedule_id, 'target_id' => $target_id); 164 166 openpne_redirect('biz', 'page_fh_biz_schedule_view', $p); 165 167 } 166 168 } -
webapp_biz/modules/biz/validate/do/fh_biz_schedule_edit.ini
old new 1 [sc_b_year] 2 type = "int" 3 required = 0 4 caption = "開始年" 5 6 [sc_b_month] 7 type = "string" 8 required = 0 9 caption = "開始月" 10 11 [sc_b_date] 12 type = "string" 13 required = 0 14 caption = "開始日" 15 16 [sc_b_hour] 17 type = "string" 18 required = 0 19 caption = "開始時" 20 21 [sc_b_minute] 22 type = "string" 23 required = 0 24 caption = "開始分" 25 26 [sc_f_year] 27 type = "string" 28 required = 0 29 caption = "終了年" 30 31 [sc_f_month] 32 type = "string" 33 required = 0 34 caption = "終了月" 35 36 [sc_f_date] 37 type = "string" 38 required = 0 39 caption = "終了日" 40 41 [sc_f_hour] 42 type = "string" 43 required = 0 44 caption = "終了時" 45 46 [sc_f_minute] 47 type = "string" 48 required = 0 49 caption = "終了分" 50 51 [sc_rp] 52 type= "string" 53 required = 0 54 capiton = "繰り返しタイプ" 55 56 [sc_title] 57 type= "string" 58 required = 0 59 capiton = "タイトル" 60 61 [sc_memo] 62 type= "string" 63 required = 0 64 capiton = "メモ" 65 66 [sc_j_mem] 67 type= "string" 68 is_array = 1 69 required = 0 70 capiton = "メンバー" 71 72 [sc_j_plc] 73 type= "string" 74 is_array = 1 75 required = 0 76 capiton = "施設" 77 78 [sc_rwk] 79 type= "string" 80 is_array = 1 81 required = 0 82 capiton = "曜日" 83 84 [sc_rcount] 85 type= "string" 86 required = 0 87 capiton = "繰り返し回数" 88 89 [sc_bn] 90 type="string" 91 required = 0 92 caption = 'バナー予定かどうか' 93 94 [schedule_id] 95 type="int" 96 required=1 97 98 [iskeep] 99 type="int" 100 default=1 1 [sc_b_year] 2 type = "int" 3 required = 0 4 caption = "開始年" 5 6 [sc_b_month] 7 type = "string" 8 required = 0 9 caption = "開始月" 10 11 [sc_b_date] 12 type = "string" 13 required = 0 14 caption = "開始日" 15 16 [sc_b_hour] 17 type = "string" 18 required = 0 19 caption = "開始時" 20 21 [sc_b_minute] 22 type = "string" 23 required = 0 24 caption = "開始分" 25 26 [sc_f_year] 27 type = "string" 28 required = 0 29 caption = "終了年" 30 31 [sc_f_month] 32 type = "string" 33 required = 0 34 caption = "終了月" 35 36 [sc_f_date] 37 type = "string" 38 required = 0 39 caption = "終了日" 40 41 [sc_f_hour] 42 type = "string" 43 required = 0 44 caption = "終了時" 45 46 [sc_f_minute] 47 type = "string" 48 required = 0 49 caption = "終了分" 50 51 [sc_rp] 52 type= "string" 53 required = 0 54 capiton = "繰り返しタイプ" 55 56 [sc_title] 57 type= "string" 58 required = 0 59 capiton = "タイトル" 60 61 [sc_memo] 62 type= "string" 63 required = 0 64 capiton = "メモ" 65 66 [sc_j_mem] 67 type= "string" 68 is_array = 1 69 required = 0 70 capiton = "メンバー" 71 72 [sc_j_plc] 73 type= "string" 74 is_array = 1 75 required = 0 76 capiton = "施設" 77 78 [sc_rwk] 79 type= "string" 80 is_array = 1 81 required = 0 82 capiton = "曜日" 83 84 [sc_rcount] 85 type= "string" 86 required = 0 87 capiton = "繰り返し回数" 88 89 [sc_bn] 90 type="string" 91 required = 0 92 caption = 'バナー予定かどうか' 93 94 [schedule_id] 95 type="int" 96 required=1 97 98 [iskeep] 99 type="int" 100 default=1 101 102 [target_id] 103 type="int" -
webapp_biz/modules/biz/page/fh_biz_schedule_view.php
old new 62 62 } 63 63 } 64 64 65 $list += array('rep_type_loc' => $tmp); 66 $list += array('writer_name' => biz_getMemberNickname($list['c_member_id'])); 67 65 $list['rep_type_loc'] = $tmp; 66 $list['writer_name'] = biz_getMemberNickname($list['c_member_id']); 68 67 $list['begin_time'] = substr($list['begin_time'], 0, 5); 69 68 $list['finish_time'] = substr($list['finish_time'], 0, 5); 70 69 71 70 $jmembers = biz_getJoinMemberSchedule($requests['id']); 72 71 if (array_search($target_member['nickname'], $jmembers)) { 73 72 $jmembers[$target_member['c_member_id']] = $target_member['nickname']; 74 $jmembers = array_unique($jmembers);75 73 } 76 74 $jshisetsu = biz_getJoinShisetsuSchedule($requests['id']); 77 75 … … 90 88 $repeat_finish = biz_getRepeatFinish($requests['id']); 91 89 $repeat_term = strtotime($repeat_finish) - strtotime($repeat_begin); 92 90 93 $daycount = $repeat_term / (24 * 60 * 60) / 7; 94 91 $daycount = ceil($repeat_term / (24 * 60 * 60) / 7); 92 if ($repeat_finish == $repeat_begin) { 93 $daycount = 1; 94 } 95 95 $this->set('repeat_begin_date', $repeat_begin); 96 96 $this->set('repeat_term', intval($daycount)); 97 97 } -
webapp_biz/modules/biz/templates/fh_biz_schedule_edit.tpl
old new 323 323 324 324 <div style="padding:4px 3px;"> 325 325 326 <input type='submit' name='entry' value='登録する'>326 <input type='submit' class="submit" name='entry' value='登録する'> 327 327 328 328 </div> 329 329 -
webapp_biz/modules/biz/templates/h_biz_schedule_edit.tpl
old new 321 321 322 322 <div style="padding:4px 3px;"> 323 323 324 <input type='submit' name='entry' value='登録する'>324 <input type='submit' class="submit" name='entry' value='登録する'> 325 325 326 326 </div> 327 327 -
webapp_biz/modules/biz/templates/inc_biz_new_schedule.tpl
old new 24 24 ({foreach key=i item=value from=$newlist}) 25 25 <tr> 26 26 <td class="bg_02 border_01 padding_ss" style="width:60px;border-right:none;border-top:none;">({$value.begin_date|date_format:"%m月%d日"})</td> 27 <td class="bg_02 border_01 padding_ss" style="width:168px;border-top:none;"><a href="({t_url m=biz a=page_fh_biz_schedule_view})&id=({$value.biz_schedule_id}) ">({$value.title})</a></td>27 <td class="bg_02 border_01 padding_ss" style="width:168px;border-top:none;"><a href="({t_url m=biz a=page_fh_biz_schedule_view})&id=({$value.biz_schedule_id})&target_id=({$target_id})">({$value.title})</a></td> 28 28 </tr> 29 29 ({****}) 30 30 ({/foreach}) -
webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl
old new 222 222 ({/if}) 223 223 ({ext_include file="inc_biz_schedule_week_time.tpl"}) 224 224 <div class="padding_s" style="padding-top:0;"> 225 <a href="({t_url m=biz a=page_fh_biz_schedule_view})&id=({$item_schedule.biz_schedule_id}) ">({$item_schedule.title})</a>226 </div>225 <a href="({t_url m=biz a=page_fh_biz_schedule_view})&id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a> 226 </div> 227 227 ({else}) 228 228 ({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"}) 229 229 ({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"}) … … 233 233 ({/if}) 234 234 ({ext_include file="inc_biz_schedule_week_time.tpl"}) 235 235 <div class="padding_s" style="padding-top:0;"> 236 <a href="({t_url m=biz a=page_fh_biz_schedule_view})&id=({$item_schedule.biz_schedule_id}) ">({$item_schedule.title})</a>236 <a href="({t_url m=biz a=page_fh_biz_schedule_view})&id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a> 237 237 </div> 238 238 ({/if}) 239 239 ({/foreach}) -
webapp_biz/modules/biz/templates/fh_biz_schedule_view.tpl
old new 290 290 <td class="padding_ss" align="left"> 291 291 292 292 ({t_form _method=get m=pc a=page_h_home}) 293 <input value="マイ ページに戻る" type="submit" class="submit">293 <input value="マイホームに戻る" type="submit" class="submit"> 294 294 </form> 295 295 296 296 </td> … … 338 338 <td class="padding_ss" align="right"> 339 339 340 340 ({t_form m=biz a=page_fh_biz_schedule_add}) 341 <input value=" 続けて新規の予定登録をする" type="submit" class="submit">341 <input value="新規の予定登録をする" type="submit" class="submit"> 342 342 </form> 343 343 344 344 </td> … … 346 346 347 347 ({t_form m=biz a=page_s_list}) 348 348 <input type="hidden" name="w" value="({$w})"> 349 <input value=" 続けて施設予約をする" type="submit" class="submit">349 <input value="施設予約をする" type="submit" class="submit"> 350 350 </form> 351 351 352 352 </td> 353 353 <td class="padding_ss" align="left"> 354 354 355 355 ({t_form _method=get m=pc a=page_h_home}) 356 <input value="マイ ページに戻る" type="submit" class="submit">356 <input value="マイホームに戻る" type="submit" class="submit"> 357 357 </form> 358 358 359 359 </td> -
webapp/lib/db/bookmark.php
old new 179 179 */ 180 180 function db_bookmark_insert_c_bookmark($c_member_id_from, $c_member_id_to) 181 181 { 182 //function cacheの削除 183 pne_cache_drop('db_bookmark_member_list', $c_member_id_from, 9); 184 182 185 $data = array( 183 186 'c_member_id_from' => intval($c_member_id_from), 184 187 'c_member_id_to' => intval($c_member_id_to), … … 192 195 */ 193 196 function db_bookmark_delete_c_bookmark($c_member_id_from, $c_member_id_to) 194 197 { 198 //function cacheの削除 199 pne_cache_drop('db_bookmark_member_list', $c_member_id_from, 9); 200 195 201 $sql = 'DELETE FROM c_bookmark' . 196 202 ' WHERE c_member_id_from = ? AND c_member_id_to = ?'; 197 203 $params = array(intval($c_member_id_from), intval($c_member_id_to)); -
webapp/lib/db/member.php
old new 784 784 */ 785 785 function db_member_config_prof_new($c_member_id, $prof_list) 786 786 { 787 //function cacheの削除 788 pne_cache_drop('db_common_c_member4c_member_id', $c_member_id); 789 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'friend'); 790 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'public'); 791 787 792 $data = array( 788 793 'nickname' => $prof_list['nickname'], 789 794 'birth_year' => intval($prof_list['birth_year']), … … 812 817 */ 813 818 function db_member_config_image_new($c_member_id, $image_filename, $img_num) 814 819 { 820 //function cacheの削除 821 pne_cache_drop('db_common_c_member4c_member_id', $c_member_id); 822 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'friend'); 823 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'public'); 824 815 825 $data = array('image_filename_'.intval($img_num) => $image_filename); 816 826 $where = array('c_member_id' => intval($c_member_id)); 817 827 return db_update('c_member', $data, $where); … … 822 832 */ 823 833 function db_member_delete_c_member_image_new($c_member_id, $img_num) 824 834 { 835 //function cacheの削除 836 pne_cache_drop('db_common_c_member4c_member_id', $c_member_id); 837 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'friend'); 838 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'public'); 839 825 840 $sql = 'UPDATE c_member SET'; 826 841 if ($img_num == 1) { 827 842 $sql .= ' image_filename_1 = image_filename_2,'; … … 840 855 */ 841 856 function db_member_change_c_member_main_image($c_member_id, $img_num) 842 857 { 858 //function cacheの削除 859 pne_cache_drop('db_common_c_member4c_member_id', $c_member_id); 860 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'friend'); 861 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'public'); 862 843 863 $sql = 'UPDATE c_member SET image_filename = image_filename_'.intval($img_num). 844 864 ' WHERE c_member_id = ?'; 845 865 $params = array(intval($c_member_id)); … … 851 871 */ 852 872 function db_member_update_c_member_image($c_member_id, $image_filename, $img_num) 853 873 { 874 //function cacheの削除 875 pne_cache_drop('db_common_c_member4c_member_id', $c_member_id); 876 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'friend'); 877 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'public'); 878 854 879 $data = array( 855 880 'image_filename' => $image_filename, 856 881 'image_filename_'.intval($img_num) => $image_filename, … … 878 903 ); 879 904 $c_member_id = db_insert('c_member', $data); 880 905 906 //function cacheの削除 907 pne_cache_drop('db_common_c_member4c_member_id', $c_member_id); 908 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'friend'); 909 pne_cache_drop('db_common_c_member_with_profile', $c_member_id, 'public'); 910 881 911 $data = array( 882 912 'c_member_id' => intval($c_member_id), 883 913 'hashed_password' => md5($c_member_secure['password']), … … 1189 1219 1190 1220 function db_member_update_c_member_profile($c_member_id, $c_member_profile_list) 1191 1221 { 1222 //function cache削除 1223 pne_cache_drop('db_common_c_profile_list'); 1224 1192 1225 foreach ($c_member_profile_list as $item) { 1193 1226 $sql = 'DELETE FROM c_member_profile' . 1194 1227 ' WHERE c_member_id = ? AND c_profile_id = ?'; … … 1209 1242 1210 1243 function db_member_insert_c_member_profile($c_member_id, $c_profile_id, $c_profile_option_id, $value, $public_flag) 1211 1244 { 1245 //function cache削除 1246 pne_cache_drop('db_common_c_profile_list'); 1247 1212 1248 $data = array( 1213 1249 'c_member_id' => intval($c_member_id), 1214 1250 'c_profile_id' => intval($c_profile_id), -
webapp/lib/db/friend.php
old new 593 593 */ 594 594 function db_friend_insert_c_friend($c_member_id_from, $c_member_id_to) 595 595 { 596 //function cache削除 597 cache_drop_c_member($c_member_id_from); 598 cache_drop_c_member($c_member_id_to); 599 596 600 if (($c_member_id_from < 1) || ($c_member_id_to < 1)) 597 601 return false; 598 602 … … 642 646 */ 643 647 function db_friend_delete_c_friend($c_member_id_from, $c_member_id_to) 644 648 { 649 //function cache削除 650 cache_drop_c_member($c_member_id_from); 651 cache_drop_c_member($c_member_id_to); 652 645 653 $sql = 'DELETE FROM c_friend' . 646 654 ' WHERE (c_member_id_from = ? AND c_member_id_to = ?)' . 647 655 ' OR (c_member_id_to = ? AND c_member_id_from = ?)'; … … 656 664 */ 657 665 function db_friend_update_c_friend_intro($c_member_id_from, $c_member_id_to, $intro) 658 666 { 667 //function cacheを削除 668 pne_cache_drop('p_h_home_c_friend_intro_list4c_member_id', $c_member_id_to, 5); 669 pne_cache_drop('p_f_home_c_friend_comment4c_member_id', $c_member_id_to); 670 659 671 $data = array( 660 672 'intro' => $intro, 661 673 'r_datetime_intro' => db_now(), -
webapp/lib/db/diary.php
old new 747 747 */ 748 748 function db_diary_insert_c_diary($c_member_id, $subject, $body, $public_flag) 749 749 { 750 //function cacheの削除 751 pne_cache_drop('db_diary_get_c_diary_list4c_member_id', $c_member_id, 5); 752 750 753 $data = array( 751 754 'c_member_id' => intval($c_member_id), 752 755 'subject' => $subject, … … 765 768 function db_diary_update_c_diary($c_diary_id, $subject, $body, $public_flag, 766 769 $image_filename_1 = '', $image_filename_2 = '', $image_filename_3 = '') 767 770 { 771 //function cacheの削除 772 $c_diary = db_diary_get_c_diary4id($c_diary_id); 773 pne_cache_drop('db_diary_get_c_diary_list4c_member_id', $c_diary['c_member_id'], 5); 774 768 775 $data = array( 769 776 'subject' => $subject, 770 777 'body' => $body, … … 788 795 */ 789 796 function db_diary_delete_c_diary($c_diary_id) 790 797 { 791 // 画像798 //function cacheの削除 792 799 $c_diary = db_diary_get_c_diary4id($c_diary_id); 800 pne_cache_drop('db_diary_get_c_diary_list4c_member_id', $c_diary['c_member_id'], 5); 801 802 // 画像 793 803 image_data_delete($c_diary['image_filename_1']); 794 804 image_data_delete($c_diary['image_filename_2']); 795 805 image_data_delete($c_diary['image_filename_3']); … … 862 872 */ 863 873 function db_diary_insert_c_diary_comment($c_member_id, $c_diary_id, $body) 864 874 { 875 //function cache削除 876 pne_cache_drop('p_h_home_c_diary_my_comment_list4c_member_id', $c_member_id, 5); 877 865 878 $data = array( 866 879 'c_member_id' => intval($c_member_id), 867 880 'c_diary_id' => intval($c_diary_id), -
webapp/lib/db/etc.php
old new 259 259 */ 260 260 function db_common_delete_c_member($c_member_id) 261 261 { 262 //function cache削除 263 cache_drop_c_member($c_member_id); 264 262 265 //// --- 双方向パターン 263 266 $double = array(intval($c_member_id), intval($c_member_id)); 264 267 … … 424 427 */ 425 428 function db_common_delete_c_commu($c_commu_id) 426 429 { 430 //function cacheの削除 431 pne_cache_drop('p_c_home_c_commu4c_commu_id', $c_commu_id); 432 427 433 $single = array(intval($c_commu_id)); 428 434 429 435 $sql = 'SELECT * FROM c_commu WHERE c_commu_id = ?'; -
webapp/lib/db/commu.php
old new 1879 1879 $image_filename = '', $is_send_join_mail = 1, 1880 1880 $is_display_map = null, $map_latitude = null, $map_longitude = null, $map_zoom = null) 1881 1881 { 1882 //function cacheの削除 1883 cache_drop_c_commu($c_commu_id); 1884 1882 1885 $data = array( 1883 1886 'name' => $name, 1884 1887 'info' => $info, … … 1905 1908 */ 1906 1909 function db_commu_update_c_commu_image_filename($c_commu_id, $image_filename) 1907 1910 { 1911 //function cacheの削除 1912 cache_drop_c_commu($c_commu_id); 1913 1908 1914 $data = array('image_filename' => $image_filename); 1909 1915 $where = array('c_commu_id' => intval($c_commu_id)); 1910 1916 return db_update('c_commu', $data, $where); … … 1915 1921 */ 1916 1922 function db_commu_delete_c_commu_image_filename($c_commu_id) 1917 1923 { 1924 //function cacheの削除 1925 cache_drop_c_commu($c_commu_id); 1926 1918 1927 $data = array('image_filename' => ''); 1919 1928 $where = array('c_commu_id' => intval($c_commu_id)); 1920 1929 return db_update('c_commu', $data, $where); … … 2032 2041 */ 2033 2042 function db_commu_delete_c_commu_topic($c_commu_topic_id) 2034 2043 { 2044 //function cacheの削除 2045 cache_drop_c_commu_topic($c_commu_topic_id); 2046 2035 2047 // c_commu_topic_comment(画像) 2036 2048 $sql = 'SELECT image_filename1, image_filename2, image_filename3' . 2037 2049 ' FROM c_commu_topic_comment WHERE c_commu_topic_id = ?'; … … 2106 2118 } 2107 2119 2108 2120 /** 2109 * 掲示板書き込みに画像を追加する 2121 * 掲示板書き込みに画像を追加する(メールからの投稿) 2110 2122 */ 2111 2123 function db_commu_update_c_commu_topic_comment_image($c_commu_topic_comment_id, $image_filename, $image_num) 2112 2124 { … … 2193 2205 2194 2206 function db_commu_insert_c_commu_topic($topic) 2195 2207 { 2208 //function cacheの削除 2209 cache_drop_c_commu_topic($topic['c_commu_id']); 2210 2196 2211 $data = array( 2197 2212 'c_commu_id' => intval($topic['c_commu_id']), 2198 2213 'c_member_id' => intval($topic['c_member_id']), … … 2283 2298 */ 2284 2299 function db_commu_join_c_commu($c_commu_id, $c_member_id) 2285 2300 { 2301 //function cache削除 2302 cache_drop_c_commu($c_commu_id); 2303 cache_drop_c_commu_list4c_member_id($c_member_id); 2304 2286 2305 $data = array( 2287 2306 'c_commu_id' => intval($c_commu_id), 2288 2307 'c_member_id' => intval($c_member_id), … … 2296 2315 */ 2297 2316 function db_commu_delete_c_commu_member($c_commu_id, $c_member_id) 2298 2317 { 2318 //function cache削除 2319 cache_drop_c_commu($c_commu_id); 2320 cache_drop_c_commu_list4c_member_id($c_member_id); 2321 2299 2322 $sql = 'DELETE FROM c_commu_review' . 2300 2323 ' WHERE c_commu_id = ? AND c_member_id = ?'; 2301 2324 $params = array(intval($c_commu_id), intval($c_member_id)); -
webapp/lib/db/message.php
old new 180 180 */ 181 181 function db_message_c_message_trash_list4c_member_id4range($c_member_id, $page, $page_size) 182 182 { 183 $where = "(" . 184 "c_member_id_from = ?" . 183 $where_from = "c_member_id_from = ?" . 185 184 " AND is_deleted_from = 1" . 186 " AND is_kanzen_sakujo_from = 0" . 187 ") OR (" . 188 "c_member_id_to = ?" . 185 " AND is_kanzen_sakujo_from = 0"; 186 187 $sql = 'SELECT * FROM c_message WHERE '. $where_from . ' ORDER BY r_datetime DESC'; 188 $sql_num = 'SELECT COUNT(*) FROM c_message WHERE '. $where_from; 189 $params = array(intval($c_member_id)); 190 $c_message_list_from = db_get_all_page($sql, 1, ($page_size * ($page + 1)), $params); 191 $c_message_num_from = db_get_one($sql_num, $params); 192 193 $where_to = "c_member_id_to = ?" . 189 194 " AND is_deleted_to = 1" . 190 " AND is_kanzen_sakujo_to = 0" . 191 ")"; 195 " AND is_kanzen_sakujo_to = 0"; 192 196 193 $sql = 'SELECT * FROM c_message WHERE '. $where . ' ORDER BY r_datetime DESC'; 194 $params = array(intval($c_member_id), intval($c_member_id)); 195 $c_message_list = db_get_all_page($sql, $page, $page_size, $params); 197 $sql = 'SELECT * FROM c_message WHERE '. $where_to . ' ORDER BY r_datetime DESC'; 198 $sql_num = 'SELECT COUNT(*) FROM c_message WHERE '. $where_to; 199 $c_message_list_to = db_get_all_page($sql, 1, ($page_size * ($page + 1)), $params); 200 $c_message_num_to = db_get_one($sql_num, $params); 196 201 197 $sql = 'SELECT COUNT(*) FROM c_message WHERE ' . $where; 198 $total_num = db_get_one($sql, $params); 202 $c_message_list = array_merge($c_message_list_from, $c_message_list_to); 199 203 204 foreach ($c_message_list as $key => $row) { 205 $c_message_id[$key] = intval($row['c_message_id']); 206 } 207 array_multisort($c_message_id, SORT_DESC, $c_message_list); 208 $c_message_list = array_slice($c_message_list, ($page_size * ($page - 1) + 1), $page_size); 209 210 $total_num = $c_message_num_from + $c_message_num_to; 211 200 212 if ($total_num != 0) { 201 213 $total_page_num = ceil($total_num / $page_size); 202 214 if ($page >= $total_page_num) { -
webapp/lib/db/deprecated_temporary2.php
old new 544 544 return db_commu_insert_c_commu_topic_comment_2($c_member_id,$target_c_commu_topic_id,$body); 545 545 } 546 546 547 /*548 547 549 function db_commu_update_c_commu_topic_comment_images($c_commu_topic_comment_id, $image_filename1, $image_filename2, $image_filename3)550 {551 return db_commu_update_c_commu_topic_comment_images($c_commu_topic_comment_id, $image_filename1, $image_filename2, $image_filename3);552 }553 554 */555 556 548 function mail_update_c_commu_topic_comment_image($c_commu_topic_comment_id, $image_filename, $image_num) 557 549 { 558 550 return db_commu_update_c_commu_topic_comment_image($c_commu_topic_comment_id, $image_filename, $image_num); … … 560 552 561 553 function do_c_bbs_delete_c_commu_topic_comment($c_commu_topic_comment_id) 562 554 { 563 return db_commu_ update_c_commu_topic($c_commu_topic_comment_id);555 return db_commu_delete_c_commu_topic_comment($c_commu_topic_comment_id); 564 556 } 565 557 566 558 function do_c_event_edit_update_c_commu_topic($c_commu_topic_id, $topic) 567 559 { 568 return db_commu_update_c_commu_topic _comment($c_commu_topic_id, $topic);560 return db_commu_update_c_commu_topic($c_commu_topic_id, $topic); 569 561 } 570 562 571 563 -
webapp/lib/db/deprecated_temporary4.php
old new 146 146 147 147 function db_admin_c_image_list($page, $page_size, &$pager) 148 148 { 149 return db_image_c_image_list($page, $page_size, &$pager);149 return db_image_c_image_list($page, $page_size, $pager); 150 150 } 151 151 152 152 function c_tmp_image4filename($filename) -
webapp/lib/util.inc.php
old new 12 12 require_once dirname(__FILE__) . '/util/api.php'; 13 13 require_once dirname(__FILE__) . '/util/message.php'; 14 14 require_once dirname(__FILE__) . '/util/emoji.php'; 15 require_once dirname(__FILE__) . '/util/cache.php'; 15 16 16 17 ?> -
webapp/lib/util/util.php
old new 396 396 397 397 //--- 398 398 399 function &get_cache_lite_function()400 {401 static $instance;402 if (empty($instance)) {403 include_once 'Cache/Lite/Function.php';404 $options = array(405 'cacheDir' => OPENPNE_VAR_DIR . '/function_cache/',406 'hashedDirectoryLevel' => 2,407 'hashedDirectoryUmask' => 0777,408 );409 $instance = new Cache_Lite_Function($options);410 }411 return $instance;412 }413 414 399 /** 415 * call function cache416 */417 function pne_cache_call()418 {419 $arg_list = func_get_args();420 $lifetime = array_shift($arg_list);421 422 if (OPENPNE_USE_FUNCTION_CACHE) {423 $cache =& get_cache_lite_function();424 $cache->setOption('lifetime', intval($lifetime));425 return call_user_func_array(array(&$cache, 'call'), $arg_list);426 } else {427 $function = array_shift($arg_list);428 return call_user_func_array($function, $arg_list);429 }430 }431 432 /**433 * drop function cache434 */435 function pne_cache_drop()436 {437 $arg_list = func_get_args();438 439 if (OPENPNE_USE_FUNCITON_CACHE) {440 $cache =& get_cache_lite_funcion();441 return call_user_func_array(array(&$cache, 'drop'), $arg_list);442 } else {443 return true;444 }445 }446 447 //---448 449 /**450 400 * Check c_diary.public_flag 451 401 * 452 402 * @param int $c_diary_id -
webapp/lib/util/cache.php
old new 1 <?php 2 /** 3 * @copyright 2005-2006 OpenPNE Project 4 * @license http://www.php.net/license/3_01.txt PHP License 3.01 5 */ 6 7 function &get_cache_lite_function() 8 { 9 static $instance; 10 if (empty($instance)) { 11 include_once 'Cache/Lite/Function.php'; 12 $options = array( 13 'cacheDir' => OPENPNE_VAR_DIR . '/function_cache/', 14 'hashedDirectoryLevel' => 2, 15 'hashedDirectoryUmask' => 0777, 16 ); 17 $instance = new Cache_Lite_Function($options); 18 } 19 return $instance; 20 } 21 22 /** 23 * call function cache 24 */ 25 function pne_cache_call() 26 { 27 $arg_list = func_get_args(); 28 $lifetime = array_shift($arg_list); 29 30 if (OPENPNE_USE_FUNCTION_CACHE) { 31 $cache =& get_cache_lite_function(); 32 $cache->setOption('lifetime', intval($lifetime)); 33 return call_user_func_array(array(&$cache, 'call'), $arg_list); 34 } else { 35 $function = array_shift($arg_list); 36 return call_user_func_array($function, $arg_list); 37 } 38 } 39 40 /** 41 * drop function cache 42 */ 43 function pne_cache_drop() 44 { 45 $arg_list = func_get_args(); 46 47 if (OPENPNE_USE_FUNCITON_CACHE) { 48 $cache =& get_cache_lite_function(); 49 return call_user_func_array(array(&$cache, 'drop'), $arg_list); 50 } else { 51 return true; 52 } 53 } 54 55 //--- 56 57 /** 58 * メンバー情報取得関連のfunction cacheを削除する 59 */ 60 function cache_drop_c_member($c_member_id) 61 { 62 pne_cache_drop('p_f_home_c_friend_list4c_member_id', $c_member_id, 9); 63 pne_cache_drop('p_h_home_c_diary_friend_list4c_member_id', $c_member_id, 5); 64 65 include_once 'Calendar/Week.php'; 66 67 $Week = new Calendar_Week(date('Y'), date('m'), date('d'), 0); 68 $Week->build(); 69 while ($Day = $Week->fetch()) { 70 $m = $Day->thisMonth(); 71 $d = $Day->thisDay(); 72 pne_cache_drop('p_h_home_birth4c_member_id', $m, $d, $c_member_id); 73 } 74 } 75 76 77 /** 78 * コミュニティ情報取得関連のfunction cacheを削除する 79 */ 80 function cache_drop_c_commu($c_commu_id) 81 { 82 pne_cache_drop('p_c_home_c_commu_member_list4c_commu_id', $c_commu_id, 9); 83 pne_cache_drop('p_c_home_c_commu4c_commu_id', $c_commu_id); 84 85 $c_commu_topic_list = p_c_home_new_topic_comment4c_commu_id($c_commu_id, 7); 86 $c_commu_event_list = p_c_home_new_topic_comment4c_commu_id($c_commu_id, 7, 1); 87 $c_commu_bbs_list = array_merge($c_commu_topic_list, $c_commu_event_list); 88 89 foreach ($c_commu_bbs_list as $c_commu_topic_id) 90 { 91 cache_drop_c_commu_topic($c_commu_topic_id); 92 } 93 } 94 95 /** 96 * コミュニティトピック情報取得関連のfunction cacheを削除する 97 */ 98 function cache_drop_c_commu_topic($c_commu_topic_id) 99 { 100 pne_cache_drop('p_c_home_new_topic_comment4c_commu_id', $c_commu_topic_id, 7); 101 pne_cache_drop('p_c_home_new_topic_comment4c_commu_id', $c_commu_topic_id, 7, 1); 102 } 103 104 /** 105 * c_memberに関連したコミュニティ情報取得関連のfunction cacheを削除する 106 */ 107 function cache_drop_c_commu_list4c_member_id($c_member_id) 108 { 109 pne_cache_drop('p_h_home_c_commu_list4c_member_id', $c_member_id, 9); 110 pne_cache_drop('p_f_home_c_commu_list4c_member_id', $c_member_id, 9); 111 } 112 113 ?> -
webapp/modules/pc/page/h_home.php
old new 15 15 { 16 16 $u = $GLOBALS['AUTH']->uid(); 17 17 18 $this->set('inc_navi', fetch_inc_navi('h')); 18 $inc_navi = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'fetch_inc_navi', 'h'); 19 $this->set('inc_navi', $inc_navi); 19 20 20 21 /// infomation /// 21 22 … … 48 49 /// 左側 /// 49 50 50 51 // メンバ情報 51 $this->set('c_member', db_common_c_member4c_member_id($u)); 52 $c_member = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'db_common_c_member4c_member_id', $u); 53 $this->set('c_member', $c_member); 52 54 // フレンドリスト 53 $this->set('c_friend_list', p_f_home_c_friend_list4c_member_id($u, 9)); 55 $c_friend_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_f_home_c_friend_list4c_member_id', $u, 9); 56 $this->set('c_friend_list', $c_friend_list); 54 57 $this->set('c_friend_count', db_friend_count_friends($u)); 55 58 // 参加コミュニティ 56 $this->set('c_commu_user_list', p_h_home_c_commu_list4c_member_id($u, 9)); 59 $c_commu_user_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_h_home_c_commu_list4c_member_id', $u, 9); 60 $this->set('c_commu_user_list', $c_commu_user_list); 57 61 $this->set('fh_com_count_user', p_common_count_c_commu4c_member_id($u)); 58 62 59 63 /// 最新情報 /// 60 64 61 65 // フレンド最新日記 62 $this->set('c_diary_friend_list', p_h_home_c_diary_friend_list4c_member_id($u, 5)); 66 $c_diary_friend_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_h_home_c_diary_friend_list4c_member_id', $u, 5); 67 $this->set('c_diary_friend_list', $c_diary_friend_list); 63 68 // フレンド最新blog 64 69 $this->set('c_rss_cache_list', p_h_diary_list_friend_c_rss_cache_list($u, 5)); 65 70 // 日記コメント記入履歴 66 $this->set('c_diary_my_comment_list', p_h_home_c_diary_my_comment_list4c_member_id($u, 5)); 71 $c_diary_my_comment_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_h_home_c_diary_my_comment_list4c_member_id', $u, 5); 72 $this->set('c_diary_my_comment_list', $c_diary_my_comment_list); 67 73 // 参加コミュニティの新着書き込み 68 74 $this->set('c_commu_topic_comment_list', p_h_home_c_commu_topic_comment_list4c_member_id($u, 5)); 69 75 // レビュー … … 72 78 /// 自分の情報 /// 73 79 74 80 // 日記 75 $this->set('c_diary_list', db_diary_get_c_diary_list4c_member_id($u, 5)); 81 $c_diary_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'db_diary_get_c_diary_list4c_member_id', $u, 5); 82 $this->set('c_diary_list', $c_diary_list); 76 83 // 外部blog 77 84 $this->set('c_blog_list', p_h_home_h_blog_list_friend4c_member_id($u, 5, 1)); 78 85 // レビュー … … 81 88 /// その他 /// 82 89 83 90 // 紹介文 84 $this->set('c_friend_intro_list', p_h_home_c_friend_intro_list4c_member_id($u, 5)); 91 $c_friend_intro_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_h_home_c_friend_intro_list4c_member_id', $u, 5); 92 $this->set('c_friend_intro_list', $c_friend_intro_list); 85 93 86 94 // 今日の日付、曜日 87 95 $this->set('r_datetime', date('m/d')); … … 105 113 $this->set('bookmark_blog_list', db_bookmark_blog_list($u, 5)); 106 114 107 115 //お気に入りのメンバ 108 $this->set('bookmark_member_list', db_bookmark_member_list($u, 9)); 116 $bookmark_member_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'db_bookmark_member_list', $u, 9); 117 $this->set('bookmark_member_list', $bookmark_member_list); 109 118 $this->set('bookmark_count', db_bookmark_count($u)); 110 119 } 111 120 … … 133 142 $y = $Day->thisYear(); 134 143 $m = $Day->thisMonth(); 135 144 $d = $Day->thisDay(); 145 $birth = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_h_home_birth4c_member_id', $m, $d, $u); 136 146 $item = array( 137 147 'year'=> $y, 138 148 'month'=>$m, 139 149 'day' => $d, 140 150 'dayofweek'=>$dayofweek[$i++], 141 151 'now' => false, 142 'birth' => p_h_home_birth4c_member_id($m, $d, $u),152 'birth' => $birth, 143 153 'event' => p_h_home_event4c_member_id($y, $m, $d, $u), 144 154 'schedule' => p_h_calendar_c_schedule_list4date($y, $m, $d, $u), 145 155 ); -
webapp/modules/pc/page/c_home.php
old new 11 11 $u = $GLOBALS['AUTH']->uid(); 12 12 $c_commu_id = $requests['target_c_commu_id']; 13 13 14 $c_commu = p _c_home_c_commu4c_commu_id($c_commu_id);14 $c_commu = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_c_home_c_commu4c_commu_id', $c_commu_id); 15 15 //コミュニティの存在の有無 16 16 if (!$c_commu) { 17 17 openpne_redirect('pc', 'page_h_err_c_home'); 18 18 } 19 19 20 $this->set('inc_navi', fetch_inc_navi('c', $c_commu_id)); 20 $inc_navi = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'fetch_inc_navi', 'c', $c_commu_id); 21 $this->set('inc_navi', $inc_navi); 21 22 22 23 $this->set('c_commu', $c_commu); 23 24 … … 29 30 $this->set('is_receive_message', db_commu_is_receive_message($c_commu_id, $u)); 30 31 31 32 //コミュニティメンバー 32 $this->set('c_commu_member_list', p_c_home_c_commu_member_list4c_commu_id($c_commu_id, 9)); 33 $c_commu_member_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_c_home_c_commu_member_list4c_commu_id', $c_commu_id, 9); 34 $this->set('c_commu_member_list', $c_commu_member_list); 33 35 34 36 //非公開コミュニティに管理者から招待されたかどうか 35 37 $this->set('admin_invite', db_c_commu4c_admin_invite_id($c_commu_id, $u)); 36 38 37 39 //参加コミュニティの新着トピック書き込み 38 $this->set('new_topic_comment', p_c_home_new_topic_comment4c_commu_id($c_commu_id, 7)); 40 $new_topic_comment = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_c_home_new_topic_comment4c_commu_id', $c_commu_id, 7); 41 $this->set('new_topic_comment', $new_topic_comment); 39 42 //参加コミュニティの新着イベント書き込み 40 $this->set('new_topic_comment_event', p_c_home_new_topic_comment4c_commu_id($c_commu_id, 7, 1)); 43 $new_topic_comment_event = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_c_home_new_topic_comment4c_commu_id', $c_commu_id, 7, 1); 44 $this->set('new_topic_comment_event', $new_topic_comment_event); 41 45 //参加コミュニティの新着おすすめレビュー 42 46 $this->set('new_commu_review', p_c_home_new_commu_review4c_commu_id($c_commu_id, 7)); 43 47 -
webapp/modules/pc/page/f_home.php
old new 33 33 db_ashiato_insert_c_ashiato($target_c_member_id, $u); 34 34 35 35 $this->set('is_h_prof', 0); 36 $this->set('inc_navi', fetch_inc_navi('f', $target_c_member_id)); 36 $inc_navi = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'fetch_inc_navi', 'f', $target_c_member_id); 37 $this->set('inc_navi', $inc_navi); 37 38 38 39 $is_friend = db_friend_is_friend($u, $target_c_member_id); 39 40 if ($is_friend) { 40 $target_c_member = db_common_c_member_with_profile($target_c_member_id, 'friend');41 $target_c_member = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'db_common_c_member_with_profile', $target_c_member_id, 'friend'); 41 42 // 自分が書いた紹介文 42 43 $this->set('my_friend_intro', p_f_home_c_friend_intro($u, $target_c_member_id)); 43 44 } else { 44 $target_c_member = db_common_c_member_with_profile($target_c_member_id, 'public');45 $target_c_member = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'db_common_c_member_with_profile', $target_c_member_id, 'public'); 45 46 // 友達の友達 46 47 $this->set('friend_path', p_f_home_friend_path4c_member_ids($u, $target_c_member_id)); 47 48 } 48 49 49 50 $this->set('is_friend', $is_friend); 50 $this->set('c_member', db_common_c_member4c_member_id($u)); 51 $this->set('c_diary_list', db_diary_get_c_diary_list4c_member_id($target_c_member_id, 5, $u)); 51 $c_member = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'db_common_c_member4c_member_id', $u); 52 $this->set('c_member', $c_member); 53 $c_diary_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'db_diary_get_c_diary_list4c_member_id', $target_c_member_id, 5, $u); 54 $this->set('c_diary_list', $c_diary_list); 52 55 53 56 // --- f_home, h_prof 共通処理 54 57 … … 61 64 62 65 $this->set('c_rss_cache_list', p_f_home_c_rss_cache_list4c_member_id($target_c_member_id, 5)); 63 66 64 $this->set('c_friend_comment_list', p_f_home_c_friend_comment4c_member_id($target_c_member_id)); 65 $this->set('c_friend_list', p_f_home_c_friend_list4c_member_id($target_c_member_id, 9)); 67 $c_friend_comment_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_f_home_c_friend_comment4c_member_id', $target_c_member_id); 68 $this->set('c_friend_comment_list', $c_friend_comment_list); 69 $c_friend_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_f_home_c_friend_list4c_member_id', $target_c_member_id, 9); 70 $this->set('c_friend_list', $c_friend_list); 66 71 $this->set('c_friend_count', db_friend_count_friends($target_c_member_id)); 67 72 $this->set('user_count', p_common_count_c_commu4c_member_id($target_c_member_id)); 68 $this->set('c_commu_list', p_f_home_c_commu_list4c_member_id($target_c_member_id, 9)); 73 $c_commu_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'p_f_home_c_commu_list4c_member_id', $target_c_member_id, 9); 74 $this->set('c_commu_list', $c_commu_list); 69 75 $this->set('c_review_list', db_review_c_review_list4member($target_c_member_id, 5)); 70 76 71 $this->set('profile_list', db_common_c_profile_list()); 77 $profile_list = pne_cache_call(OPENPNE_FUNCTION_CACHE_LIFETIME_LONG, 'db_common_c_profile_list'); 78 $this->set('profile_list', $profile_list); 72 79 73 80 // 誕生日まであと何日? 74 81 $this->set('days_birthday', db_common_count_days_birthday4c_member_id($target_c_member_id)); -
webapp/modules/pc/templates/h_config_image.tpl
old new 134 134 <img src="./skin/dummy.gif" class="v_spacer_l"> 135 135 136 136 <input type="submit" class="submit" name="submit" value="写真をアップロードする"> 137 137 </form> 138 138 </td> 139 139 <td style="width:1em;" align="right" valign="top">・</td> 140 140 <td style="width:auto;" align="left" valign="top"> -
webapp/modules/admin/do/update_c_navi.php
old new 13 13 $requests['sort_order'], 14 14 $requests['url'], 15 15 $requests['caption']); 16 17 pne_cache_drop('fetch_inc_navi', $requests['navi_type']); 18 16 19 admin_client_redirect('edit_c_navi', '変更しました'); 17 20 } 18 21 } -
webapp/init.inc
old new 121 121 122 122 ini_set('arg_separator.output', '&'); 123 123 124 // ファンクションキャッシュ有効期限用定数 125 define('OPENPNE_FUNCTION_CACHE_LIFETIME_SHORT' , 1200); 126 define('OPENPNE_FUNCTION_CACHE_LIFETIME_LONG' , 3600); 127 128 124 129 ?> -
webapp/version.php
old new