ページへ戻る

+ Links

 印刷 

Ver 3.63.1 (PKWK_SAFE_MODEをデフォルトで有効に) :: XOOPS マニア

xpwiki:xpWiki開発日記/2008-02-05-1


Tag: ini設定 セキュリティ プラグイン
2008 2月 5 (火)
 

Ver 3.63.1 (PKWK_SAFE_MODEをデフォルトで有効に) anchor.png Edit

Page Top

PKWK_SAFE_MODE (セーフモード) anchor.png Edit

管理者以外は、PKWK_SAFE_MODE を有効にする設定('auto')を追加し、デフォルト値にしました。

  • pukiwiki.ini.php
    1
    2
    3
    4
    5
    
    // PKWK_SAFE_MODE - Prohibits some unsafe(but compatible) functions 
    // 'auto': Safe mode( The administer is excluded. )
    //     1 : Safe mode
    //     0 : Normal mode
    $const['PKWK_SAFE_MODE'] = 'auto';

以前のデフォルト値は $const['PKWK_SAFE_MODE'] = 0 でしたが、セキュリティ向上のため、管理者以外はセーフモードになる設定値 'auto' をデフォルトとしました。

PKWK_SAFE_MODE を有効にした場合の、動作制限については、以下のリンクが参考になります。

Page Top

xpwikiver プラグインの機能を変更 anchor.png Edit

使っている人は、ほとんどないと思いますが、xpwikiver というプラグインがあります。これは、使っている xpWiki のバージョンを表示するプラグインでしたが、この機能を 最新CVS版のバージョンを表示する機能に変更しました。

使っている xpWiki のバージョンを表示するには、同等機能の version プラグインをお使いください。

ただし、version プラグインは PKWK_SAFE_MODE が有効の場合には、何も表示されないプラグインです。

Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-02-05 17:53 nao-pon
    • * xoops_version.php (1.297):
      • Version 3.63.1
  • 2008-02-05 17:53 nao-pon
    • * plugin/xpwikiver.inc.php (1.2):
      • The function of the plugin was changed from display the version of xpwiki to display the version of the CVS version. The display of the version of xpwiki must use the "version" plugin.
  • 2008-02-05 17:49 nao-pon
    • * class/xpwiki.php (1.69), ini/pukiwiki.ini.php (1.64):
      • Added a config option 'auto' of "$const['PKWK_SAFE_MODE']". And, this is default.
        'auto': Safe mode( The administer is excluded.)
            1 : Safe mode
            0 : Normal mode
  • 2008-02-05 11:10 nao-pon
    • * ini/pukiwiki.ini.php (1.63):
      • Changed config option of "$root->render_popuplink". ( 1=All, 2=AutoLink only )
Page Top

一行コメント anchor.png Edit




Last-modified: 2008-02-06 (水) 12:05:00 (JST) (6763d) by nao-pon