OSDN Git Service

最初のアイテムのバージョン表記修正
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / config.php
1 <?php
2 \r
3 /*\r
4  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
5  * Copyright (C) 2002-2009 The Nucleus Group\r
6  *\r
7  * This program is free software; you can redistribute it and/or\r
8  * modify it under the terms of the GNU General Public License\r
9  * as published by the Free Software Foundation; either version 2\r
10  * of the License, or (at your option) any later version.\r
11  * (see nucleus/documentation/index.html#license for more info)\r
12  */\r
13 \r
14 /**\r
15  * Nucleus configration file\r
16  * @license http://nucleuscms.org/license.txt GNU General Public License\r
17  * @copyright Copyright (C) 2002-2009 The Nucleus Group\r
18  * @version $Id$\r
19  */\r
20
21 // This file contains variables with the locations of the data dirs
22 // and basic functions that every page can use
23
24 // mySQL connection information
25 $MYSQL_HOST     = 'hostname';
26 $MYSQL_USER     = 'username';
27 $MYSQL_PASSWORD = 'password';
28 $MYSQL_DATABASE = 'databasename';
29 $MYSQL_PREFIX   = '';
30
31 // main nucleus directory
32 $DIR_NUCLEUS = '/your/path/to/nucleus/';
33
34 // media dir
35 $DIR_MEDIA   = '/your/path/to/media/';
36
37 // extra skin files for imported skins
38 $DIR_SKINS   = '/your/path/to/skins/';
39
40 // these dirs are normally subdirs of the nucleus dir, but
41 // you can redefine them if you wish
42 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
43 $DIR_LANG    = $DIR_NUCLEUS . 'language/';
44 $DIR_LIBS    = $DIR_NUCLEUS . 'libs/';
45
46 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
47         echo 'Configuration error, please run the <a href="install.php">install script</a> or modify config.php';
48         exit;
49 }
50
51 // include libs
52 include($DIR_LIBS.'globalfunctions.php');
53 if (!extension_loaded('mbstring')) {
54         include($DIR_LIBS.'mb_emulator/mb-emulator.php');
55 }
56 ?>