ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 6026


Ignore:
Timestamp:
Mar 24, 2008, 5:47:34 PM (13 years ago)
Author:
ebihara
Message:

#2114:必要な場面でのみ OpenPNE_Amazon を読み込むようにした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.10.x/webapp/lib/db/review.php

    r6020 r6026  
    44 * @license   http://www.php.net/license/3_01.txt PHP License 3.01
    55 */
    6 
    7 require_once 'OpenPNE/Amazon.php';
    86
    97function db_review_c_review_list4member($c_member_id, $count = 10)
     
    9795    }
    9896
     97    require_once 'OpenPNE/Amazon.php';
    9998    $amazon =& new OpenPNE_Amazon(AMAZON_TOKEN, AMAZON_AFFID);
    10099    $amazon->setLocale(AMAZON_LOCALE);
     
    135134function db_review_write_product4asin($asin)
    136135{
     136    require_once 'OpenPNE/Amazon.php';
    137137    $amazon =& new OpenPNE_Amazon(AMAZON_TOKEN, AMAZON_AFFID);
    138138    $amazon->setLocale(AMAZON_LOCALE);
Note: See TracChangeset for help on using the changeset viewer.