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

Changeset 6016


Ignore:
Timestamp:
Mar 24, 2008, 3:52:48 PM (14 years ago)
Author:
ebihara
Message:

#2114:AmazonECS側の変更を容易に追従できるよう、Services_AmazonECS4 の派生クラスである OpenPNE_Amazon クラスを追加

Location:
OpenPNE/trunk/webapp/lib
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/db/review.php

    r4933 r6016  
    44 * @license   http://www.php.net/license/3_01.txt PHP License 3.01
    55 */
     6
     7require_once 'OpenPNE/Amazon.php';
    68
    79function db_review_c_review_list4member($c_member_id, $count = 10)
     
    9597    }
    9698
    97     include_once 'Services/AmazonECS4.php';
    98     $amazon =& new Services_AmazonECS4(AMAZON_TOKEN, AMAZON_AFFID);
     99    $amazon =& new OpenPNE_Amazon(AMAZON_TOKEN, AMAZON_AFFID);
    99100    $amazon->setLocale(AMAZON_LOCALE);
    100101    $amazon->setBaseUrl(AMAZON_BASEURL);
     
    137138function db_review_write_product4asin($asin)
    138139{
    139     include_once 'Services/AmazonECS4.php';
    140     $amazon =& new Services_AmazonECS4(AMAZON_TOKEN, AMAZON_AFFID);
     140    $amazon =& new OpenPNE_Amazon(AMAZON_TOKEN, AMAZON_AFFID);
    141141    $amazon->setLocale(AMAZON_LOCALE);
    142142    $amazon->setBaseUrl(AMAZON_BASEURL);
Note: See TracChangeset for help on using the changeset viewer.