Geeklog-jp / geeklog-jp

This is Geeklog 2.1.0 JP 1.1. Geeklog 2.1.1 JP 1.0: see https://github.com/Geeklog-jp/geeklog-japan
http://www.geeklog.jp
0 stars 1 forks source link

adminディレクトリにBASIC認証をかけると、管理画面以外でもBASIC認証を必要としてくる。 #219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
問題を再現するための操作手順:
1./admin/plugins/dbman/js/dbman.jsと/admin/plugins/themedit/selection.jsが常�
��呼ばれているため、adminディレクトリにBASIC認証をかける��
�、管理画面以外でもBASIC認証を必要としてくる。

正常に動作する場合に、期待される出力(表示):
adminディレクトリにBASIC認証をかけても、サイトは認証を要�
��されることなく表示される。

実際にはどのように出力(表示):
認証を要求される。

Geeklogのリリースまたはスナップショットのバージョン,
Subversionから取り出した場合は元のディレクトリと
リビジョン情報:53b5fb247d84

Original issue reported on code.google.com by ivysoho on 26 Sep 2012 at 12:56

GoogleCodeExporter commented 9 years ago
dbman/functions.inc
$_CONF['site_admin_url'] 
)がUrlに含まれている時だけdbman.jsを読み込む

function plugin_getheadercode_dbman() {

    $url_current = COM_getCurrentURL();
    if( strpos( $url_current, $_CONF['site_admin_url'] ) !== false ){
        return '<script type="text/javascript" src="' . DBMAN_BASE_URL
         . '/dbman.js' . '"></script>' . LB;
    } else {
    return;
    }

}

Original comment by ivysoho on 26 Sep 2012 at 1:20

GoogleCodeExporter commented 9 years ago
チェンジセット4b3b52475966で対応しました。

Original comment by mystralkk@gmail.com on 30 Sep 2012 at 4:14

GoogleCodeExporter commented 9 years ago
ステータスをFixedへ変更します。

Original comment by mystralkk@gmail.com on 27 Jan 2013 at 12:53