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

Changeset 2919


Ignore:
Timestamp:
May 16, 2007, 5:19:16 AM (12 years ago)
Author:
ogawa
Message:

#768:画像を別DBにするとアップロード画像リストに表示されない

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.6.x/webapp/lib/db/image.php

    r546 r2919  
    3030
    3131    $sql = 'SELECT c_image_id FROM c_image ORDER BY c_image_id DESC';
    32     $id_list = db_get_col_page($sql, $page, $page_size);
     32    $id_list = $db->get_col_page($sql, $page, $page_size);
    3333
    3434    $c_image_list = array();
     
    3636        $sql = 'SELECT c_image_id, filename, r_datetime FROM c_image WHERE c_image_id = ?';
    3737        $params = array(intval($c_image_id));
    38         $c_image_list[] = db_get_row($sql, $params);
     38        $c_image_list[] = $db->get_row($sql, $params);
    3939    }
    4040
Note: See TracChangeset for help on using the changeset viewer.