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

Changeset 698


Ignore:
Timestamp:
Nov 13, 2006, 1:27:02 AM (14 years ago)
Author:
ogawa
Message:

fix #345

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2_4/webapp/modules/admin/lib/etc_admin.php

    r2 r698  
    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";
Note: See TracChangeset for help on using the changeset viewer.