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

Changeset 713


Ignore:
Timestamp:
Nov 14, 2006, 2:16:56 PM (14 years ago)
Author:
takanashi
Message:

r703,r707,r708,r709マージ

Location:
OpenPNE/trunk/webapp
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/init.inc

    r619 r713  
    9898ini_set('session.use_only_cookies', '1');
    9999
     100$url = parse_url(OPENPNE_URL);
     101if (substr($url['path'], -1) != '/') {
     102    $url['path'] .= '/';
     103}
     104ini_set('session.cookie_path', $url['path']);
     105
    100106// セッション情報をDBに保存
    101107OpenPNE_Auth::set_session_save_handler();
  • OpenPNE/trunk/webapp/lib/smarty_plugins/function.t_img_url.php

    r276 r713  
    2222        $url = OPENPNE_IMG_URL;
    2323    } else {
    24         $url = OPENPNE_URL;
     24        if (OPENPNE_USE_PARTIAL_SSL && is_ssl()) {
     25            $url = OPENPNE_SSL_URL;
     26        } else {
     27            $url = OPENPNE_URL;
     28        }
    2529    }
    2630
  • OpenPNE/trunk/webapp/lib/smarty_plugins/function.t_img_url_skin.php

    r102 r713  
    1212        $url = OPENPNE_IMG_URL;
    1313    } else {
    14         $url = OPENPNE_URL;
     14        if (OPENPNE_USE_PARTIAL_SSL && is_ssl()) {
     15            $url = OPENPNE_SSL_URL;
     16        } else {
     17            $url = OPENPNE_URL;
     18        }
    1519    }
    1620
  • OpenPNE/trunk/webapp/modules/admin/lib/etc_admin.php

    r2 r713  
    7979function admin_client_redirect($p, $msg = '', $tail = '')
    8080{
     81    if (OPENPNE_ADMIN_URL) {
     82        $url = OPENPNE_ADMIN_URL;
     83    } else {
     84        $url = openpne_gen_url_head('admin', 'page_' . $p, true);
     85    }
     86    if (need_ssl_param('admin', 'page_' . $p)) {
     87        $tail .= 'ssl_param=1';
     88    }
     89
    8190    $hash_tbl =& AdminHashTable::singleton();
    8291
    8392    $m = ADMIN_MODULE_NAME;
    8493    $p = $hash_tbl->hash($p);
    85 
    86     if (OPENPNE_ADMIN_URL) {
    87         $url = OPENPNE_ADMIN_URL;
    88     } else {
    89         $url = OPENPNE_URL;
    90     }
    9194
    9295    $url .= "?m=$m&a=page_$p";
  • OpenPNE/trunk/webapp/modules/pc/do/o_public_invite.php

    r318 r713  
    7272        do_h_invite_insert_c_invite_mail_send($c_member_id_invite, $session, '', $pc_address);
    7373
     74        // delete cookie
     75        setcookie(session_name(), '', time() - 3600, ini_get('session.cookie_path'));
     76
    7477        openpne_redirect('pc', 'page_o_public_invite_end');
    7578    }
  • OpenPNE/trunk/webapp/modules/pc/do/o_regist_prof.php

    r695 r713  
    3232        $validator = new OpenPNE_Validator();
    3333        if ($mode == 'register') {
     34            session_name('OpenPNEpcregist');
    3435            @session_start();
    3536            $validator->addRequests($_SESSION['prof']);
     
    113114            $prof['profile'] = $c_member_profile_list;
    114115
     116            session_name('OpenPNEpcregist');
    115117            @session_start();
    116118            $_SESSION['prof'] = $_REQUEST;
     
    120122            exit;
    121123        case 'register':
     124            // delete cookie
     125            setcookie(session_name(), '', time() - 3600, ini_get('session.cookie_path'));
     126
    122127            $pre = do_common_c_member_pre4sid($sid);
    123128
  • OpenPNE/trunk/webapp/modules/pc/page/o_regist_prof.php

    r421 r713  
    3333        $this->set('err_msg', $err_msg);
    3434
     35        session_name('OpenPNEpcregist');
    3536        @session_start();
    3637        $this->set('profs', $_SESSION['prof']);
  • OpenPNE/trunk/webapp/modules/pc/page/o_regist_prof_confirm.php

    r421 r713  
    3535
    3636        $this->set('sid', $sid);
     37        session_name('OpenPNEpcregist');
    3738        @session_start();
    3839        $this->set('prof', $_REQUEST['prof']);
Note: See TracChangeset for help on using the changeset viewer.