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

Ignore:
Timestamp:
Mar 4, 2007, 11:51:27 PM (15 years ago)
Author:
takanashi
Message:

#503のログイン処理を挟んだ画像の表示処理を修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/do/o_login.php

    r1856 r2011  
    1010    var $_lc;
    1111    var $_login_params;
     12    var $_target_script;
    1213
    1314    function isSecure()
     
    1920    {
    2021        $this->_login_params = $requests['login_params'];
     22        $this->_target_script = $requests['target_script'];
    2123        $auth_config = get_auth_config();
    2224        $auth = new OpenPNE_Auth($auth_config['storage'], $auth_config['options']);
     
    5254        db_api_update_token($auth->uid());
    5355        $url = OPENPNE_URL;
     56        if ($this->_target_script) {
     57            $this->_target_script = str_replace("/","",$this->_target_script);
     58            $url .= $this->_target_script;
     59        }
    5460        if ($this->_login_params) {
    5561            $url .= '?' . $this->_login_params;
Note: See TracChangeset for help on using the changeset viewer.