3 // This file contains variables with the locations of the data dirs
\r
4 // and basic functions that every page can use
\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
13 // main nucleus directory
\r
14 $DIR_NUCLEUS = '/your/path/to/nucleus/';
\r
17 $DIR_MEDIA = '/your/path/to/media/';
\r
19 // extra skin files for imported skins
\r
20 $DIR_SKINS = '/your/path/to/skins/';
\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
28 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
\r
29 echo "Configuration error, please run the install script or modify config.php";
\r
34 include($DIR_LIBS.'globalfunctions.php');
\r
35 if (!extension_loaded('mbstring')) {
\r
36 include($DIR_LIBS.'mb_emulator/mb-emulator.php');
\r