OSDN Git Service

FIX: NucleusPluginクラスが発生する警告への対策
authorsakamocchi <o-takashi@sakamocchi.jp>
Sat, 28 Jan 2012 12:23:48 +0000 (21:23 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sat, 28 Jan 2012 12:23:48 +0000 (21:23 +0900)
commit26d2d13012bdad11baa351dafb83c1b27eb0fa25
tree91a85bf77d03b0fddd02ff3ad0c745a01843afb3
parent35d4100b8eb76dff14d5434f182bd14bd400b4e4
FIX: NucleusPluginクラスが発生する警告への対策
FIX: some codes in NucleusPlugin to prevent from generating some
warnings

http://nucleuscms.svn.sourceforge.net/viewvc/nucleuscms/trunk/nucleus/nucleus/libs/PLUGIN.php?revision=1630&view=markup

このコミットによる新機能はありません。
This commit brings us no new features.

もしデバッグ目的で$CONF['debug'] =
1としていた場合、プラグインオプション周りの警告がたくさん発生します。これは、NucleusPluginクラスにあるメソッドが配列のキーをチェックせずに処理してしまうのが原因です。このコミットはその修正です。
If we set $CONF['debug'] = 1, we can get much warnings related to
plugin options, missing array keys in detail. With this commit, each
plugin's Inherited methods checks array keys for processing.
nucleus/libs/PLUGIN.php