OSDN Git Service

Add HTTP header for telling its language charactor to the web browser if the configur...
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / config.php
index 797ab2d..3799b9d 100755 (executable)
@@ -52,6 +52,7 @@ $DIR_LANG    = $DIR_NUCLEUS . 'language/';
 $DIR_LIBS    = $DIR_NUCLEUS . 'libs/';
 
 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
+       header('Content-type: text/html; charset=utf-8');
        echo '設定がおかしいです。<a href="./install/index.php">インストール用スクリプト</a>を起動するか、config.phpの設定値を変更して下さい。';
        exit;
 }