OSDN Git Service

MERGE: リビジョン1829。管理エリアのスタートアップエラー表示の際のHTTPヘッダ出力の修正
authorsakamocchi <o-takashi@sakamocchi.jp>
Sun, 6 May 2012 04:00:36 +0000 (13:00 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sun, 6 May 2012 04:00:36 +0000 (13:00 +0900)
/nucleus/index.phpからstartUpError()をコールする際、HTTP1.1ヘッダを2回生成していたバグの修正

nucleus/index.php

index 938a97c..f3d70ec 100644 (file)
@@ -44,7 +44,6 @@ if ( $CONF['alertOnSecurityRisk'] == 1 )
        }
        if ( sizeof($aFound) > 0 )
        {
-               sendContentType('text/html', 'startUpError');
                startUpError(
                        _ERRORS_STARTUPERROR1. implode($aFound, '</li><li>')._ERRORS_STARTUPERROR2,
                        _ERRORS_STARTUPERROR3