OSDN Git Service

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@910 1ca29b...
[nucleus-jp/nucleus-jp-ancient.git] / euc / config.php
1 <?php
2
3 // This file contains variables with the locations of the data dirs
4 // and basic functions that every page can use
5
6 // mySQL connection information
7 $MYSQL_HOST = 'hostname';
8 $MYSQL_USER = 'username';
9 $MYSQL_PASSWORD = 'password';
10 $MYSQL_DATABASE = 'databasename';
11 $MYSQL_PREFIX = '';
12
13 // main nucleus directory
14 $DIR_NUCLEUS = '/your/path/to/nucleus/';
15
16 // media dir
17 $DIR_MEDIA = '/your/path/to/media/';
18
19 // extra skin files for imported skins
20 $DIR_SKINS = '/your/path/to/skins/';
21
22 // these dirs are normally subdirs of the nucleus dir, but
23 // you can redefine them if you wish
24 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
25 $DIR_LANG = $DIR_NUCLEUS . 'language/';
26 $DIR_LIBS = $DIR_NUCLEUS . 'libs/';
27
28 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
29         echo "Configuration error, please run the install script or modify config.php";
30         exit;
31 }
32
33 // include libs
34 include($DIR_LIBS.'globalfunctions.php');
35 if (!extension_loaded('mbstring')) {
36         include($DIR_LIBS.'mb_emulator/mb-emulator.php');
37 }
38 ?>