OSDN Git Service

fix XHTML 1.0 Strict
[nucleus-jp/nucleus-jp-ancient.git] / euc / config.php
index f21b3ec..300d9db 100755 (executable)
@@ -1,38 +1,38 @@
-<?php\r
-\r
-// This file contains variables with the locations of the data dirs\r
-// and basic functions that every page can use\r
-\r
-// mySQL connection information\r
-$MYSQL_HOST = 'hostname';\r
-$MYSQL_USER = 'username';\r
-$MYSQL_PASSWORD = 'password';\r
-$MYSQL_DATABASE = 'databasename';\r
-$MYSQL_PREFIX = '';\r
-\r
-// main nucleus directory\r
-$DIR_NUCLEUS = '/your/path/to/nucleus/';\r
-\r
-// media dir\r
-$DIR_MEDIA = '/your/path/to/media/';\r
-\r
-// extra skin files for imported skins\r
-$DIR_SKINS = '/your/path/to/skins/';\r
-\r
-// these dirs are normally subdirs of the nucleus dir, but\r
-// you can redefine them if you wish\r
-$DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';\r
-$DIR_LANG = $DIR_NUCLEUS . 'language/';\r
-$DIR_LIBS = $DIR_NUCLEUS . 'libs/';\r
-\r
-if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {\r
-       echo "Configuration error, please run the install script or modify config.php";\r
-       exit;\r
-}\r
-\r
-// include libs\r
-include($DIR_LIBS.'globalfunctions.php');\r
-if (!extension_loaded('mbstring')) {\r
-include($DIR_LIBS.'mb_emulator/mb-emulator.php');\r
-}\r
+<?php
+
+// This file contains variables with the locations of the data dirs
+// and basic functions that every page can use
+
+// mySQL connection information
+$MYSQL_HOST = 'hostname';
+$MYSQL_USER = 'username';
+$MYSQL_PASSWORD = 'password';
+$MYSQL_DATABASE = 'databasename';
+$MYSQL_PREFIX = '';
+
+// 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 install script or modify config.php";
+       exit;
+}
+
+// include libs
+include($DIR_LIBS.'globalfunctions.php');
+if (!extension_loaded('mbstring')) {
+       include($DIR_LIBS.'mb_emulator/mb-emulator.php');
+}
 ?>
\ No newline at end of file