OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-jp-ancient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add HTTP header for telling its language charactor to the web browser if the configur...
[nucleus-jp/nucleus-jp-ancient.git]
/
utf8
/
config.php
diff --git
a/utf8/config.php
b/utf8/config.php
index
797ab2d
..
3799b9d
100755
(executable)
--- a/
utf8/config.php
+++ b/
utf8/config.php
@@
-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;
}