Changeset 11955


Ignore:
Timestamp:
2007/03/22 18:37:18 (17 years ago)
Author:
inoue
Message:

サイト管理フラグ取得用関数

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/tb/index.php

    r11953 r11955  
    1212 
    1313// ¥È¥é¥Ã¥¯¥Ð¥Ã¥¯µ¡Ç½¤Î²ÔƯ¾õ¶·¥Á¥§¥Ã¥¯ 
    14 $arrSiteControl = $objQuery->select("*", "dtb_site_control", "control_id = ?", array(SITE_CONTROL_TRACKBACK)); 
    15  
    16 // TODO:¶¦ÄÌ´Ø¿ô²½¤¹¤ë 
    17 if (count($arrSiteControl) > 0) { 
    18     if ($arrSiteControl[0]["control_flg"] == 2) { 
    19         IfResponseNg(); 
    20     } 
    21 } else { 
     14if (sfGetSiteControlFlg(SITE_CONTROL_TRACKBACK) != 1) { 
    2215    // NG 
    2316    IfResponseNg(); 
Note: See TracChangeset for help on using the changeset viewer.