3 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
\r
4 * Copyright (C) 2002-2009 The Nucleus Group
\r
6 * This program is free software; you can redistribute it and/or
\r
7 * modify it under the terms of the GNU General Public License
\r
8 * as published by the Free Software Foundation; either version 2
\r
9 * of the License, or (at your option) any later version.
\r
10 * (see nucleus/documentation/index.html#license for more info)
\r
14 * Nucleus configration file
\r
15 * @license http://nucleuscms.org/license.txt GNU General Public License
\r
16 * @copyright Copyright (C) 2002-2009 The Nucleus Group
\r
20 // This file contains variables with the locations of the data dirs
21 // and basic functions that every page can use
23 // mySQL connection information
24 $MYSQL_HOST = 'hostname';
25 $MYSQL_USER = 'username';
26 $MYSQL_PASSWORD = 'password';
27 $MYSQL_DATABASE = 'databasename';
30 // main nucleus directory
31 $DIR_NUCLEUS = '/your/path/to/nucleus/';
34 $DIR_MEDIA = '/your/path/to/media/';
36 // extra skin files for imported skins
37 $DIR_SKINS = '/your/path/to/skins/';
39 // these dirs are normally subdirs of the nucleus dir, but
40 // you can redefine them if you wish
41 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
42 $DIR_LANG = $DIR_NUCLEUS . 'language/';
43 $DIR_LIBS = $DIR_NUCLEUS . 'libs/';
45 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
46 echo 'Configuration error, please run the <a href="install.php">install script</a> or modify config.php';
51 include($DIR_LIBS . 'globalfunctions.php');
52 if (!extension_loaded('mbstring')) {
53 include($DIR_LIBS.'mb_emulator/mb-emulator.php');