OSDN Git Service

include translation for config.php and the other supplemental documents such as creat...
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / config.php
index 86c8335..28fdecb 100755 (executable)
  * @version $Id$
  */
 
-// This file contains variables with the locations of the data dirs
-// and basic functions that every page can use
+// このファイルはサーバ内のディレクトリに対するパスと
+// Nucleus CMSの基本機能に関する設定を行います
 
-// mySQL connection information
+// MySQLサーバへ接続するための諸設定
 $MYSQL_HOST     = 'hostname';
 $MYSQL_USER     = 'username';
 $MYSQL_PASSWORD = 'password';
 $MYSQL_DATABASE = 'databasename';
 $MYSQL_PREFIX   = '';
-// new in 3.50. first element is db handler, the second is the db driver used by the handler
-// default is $MYSQL_HANDLER = array('mysql','mysql');
+
+// 3.50で導入された値。第1引数はデータベースハンドラです。第2引数はハンドラで使われるドライバです。
+// デフォルト値は以下です。
+// $MYSQL_HANDLER = array('mysql','');
+
 //$MYSQL_HANDLER = array('mysql','mysql');
 //$MYSQL_HANDLER = array('pdo','mysql');
 $MYSQL_HANDLER = array('mysql','');
 
-// main nucleus directory
+// サーバコンピュータ内でのコアへのフルパス
 $DIR_NUCLEUS = '/your/path/to/nucleus/';
 
-// media dir
+// サーバコンピュータ内でのメディア用ディレクトリへのフルパス
 $DIR_MEDIA   = '/your/path/to/media/';
 
-// extra skin files for imported skins
+// サーバコンピュータ内でのスキン用ディレクトリへのフルパス
 $DIR_SKINS   = '/your/path/to/skins/';
 
-// these dirs are normally subdirs of the nucleus dir, but
-// you can redefine them if you wish
+// プラグイン用ディレクトリ、言語ファイル用ディレクトリ、コアライブラリへのフルパス
+// 通常はコアの子ディレクトリとなりますが、任意に設定する事もできます
 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
 $DIR_LANG    = $DIR_NUCLEUS . 'language/';
 $DIR_LIBS    = $DIR_NUCLEUS . 'libs/';
 
 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
-       echo 'Configuration error, please run the <a href="./install/index.php">install script</a> or modify config.php';
+       echo '設定がおかしいです。<a href="./install/index.php">インストール用スクリプト</a>を起動するか、config.phpの設定値を変更して下さい。';
        exit;
 }
 
-// include libs
+// コアライブラリのパースをします
 include($DIR_LIBS.'globalfunctions.php');
 if (!extension_loaded('mbstring')) {
        include($DIR_LIBS.'mb_emulator/mb-emulator.php');