OSDN Git Service

MERGE: リビジョン1873〜1893。skinnable-masterのマージ
[nucleus-jp/nucleus-next.git] / build / 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 // new in 3.50. first element is db handler, the second is the db driver used by the handler
14 // default is $MYSQL_HANDLER = array('mysql','mysql');
15 //$MYSQL_HANDLER = array('mysql','mysql');
16 //$MYSQL_HANDLER = array('pdo','mysql');
17 $MYSQL_HANDLER = array('mysql','');
18
19 // main nucleus directory
20 $DIR_NUCLEUS = '/your/path/to/nucleus/';
21
22 // media dir
23 $DIR_MEDIA = '/your/path/to/media/';
24
25 // extra skin files for imported skins
26 $DIR_SKINS = '/your/path/to/skins/';
27
28 // these dirs are normally subdirs of the nucleus dir, but
29 // you can redefine them if you wish
30 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
31 $DIR_LANG = $DIR_NUCLEUS . 'language/';
32 $DIR_LIBS = $DIR_NUCLEUS . 'libs/';
33
34 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
35         echo "Configuration error, please run the install script or modify config.php";
36         exit;
37 }
38
39 // include libs
40 include($DIR_LIBS.'globalfunctions.php');
41
42 ?>