OSDN Git Service

FIX: コミット「a1c8b968c4f38141f80ce909cd17b49503a9a23d」の修正
authorsakamocchi <o-takashi@sakamocchi.jp>
Sun, 6 May 2012 03:16:16 +0000 (12:16 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sun, 6 May 2012 03:16:16 +0000 (12:16 +0900)
globalfunctions.phpの初期化処理において、「$CONF['debug'] == TRUE」の際に「$CONF =
array()」としてしまうバグがあった。

nucleus/libs/globalfunctions.php

index ba92838..686aa9c 100644 (file)
@@ -42,10 +42,6 @@ if ( !isset($CONF) )
 /* debug mode */\r
 if ( array_key_exists('debug', $CONF) && $CONF['debug'] )\r
 {\r
-       $CONF = array();\r
-}\r
-if ( array_key_exists('debug', $CONF) && $CONF['debug'] )\r
-{\r
        /* report all errors! */\r
        error_reporting(E_ALL);\r
 }\r