OSDN Git Service

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