4 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
\r
5 * Copyright (C) 2002-2009 The Nucleus Group
\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
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
21 // This file contains variables with the locations of the data dirs
22 // and basic functions that every page can use
24 // mySQL connection information
25 $MYSQL_HOST = 'hostname';
26 $MYSQL_USER = 'username';
27 $MYSQL_PASSWORD = 'password';
28 $MYSQL_DATABASE = 'databasename';
31 // main nucleus directory
32 $DIR_NUCLEUS = '/your/path/to/nucleus/';
35 $DIR_MEDIA = '/your/path/to/media/';
37 // extra skin files for imported skins
38 $DIR_SKINS = '/your/path/to/skins/';
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/';
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';
52 include($DIR_LIBS.'globalfunctions.php');
53 if (!extension_loaded('mbstring')) {
54 include($DIR_LIBS.'mb_emulator/mb-emulator.php');