3 // This file contains variables with the locations of the data dirs
4 // and basic functions that every page can use
6 // mySQL connection information
7 $MYSQL_HOST = 'hostname';
8 $MYSQL_USER = 'username';
9 $MYSQL_PASSWORD = 'password';
10 $MYSQL_DATABASE = 'databasename';
13 // main nucleus directory
14 $DIR_NUCLEUS = '/your/path/to/nucleus/';
17 $DIR_MEDIA = '/your/path/to/media/';
19 // extra skin files for imported skins
20 $DIR_SKINS = '/your/path/to/skins/';
22 // these dirs are normally subdirs of the nucleus dir, but
23 // you can redefine them if you wish
24 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
25 $DIR_LANG = $DIR_NUCLEUS . 'language/';
26 $DIR_LIBS = $DIR_NUCLEUS . 'libs/';
28 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
29 echo "Configuration error, please run the install script or modify config.php";
34 include($DIR_LIBS.'globalfunctions.php');
35 if (!extension_loaded('mbstring')) {
36 include($DIR_LIBS.'mb_emulator/mb-emulator.php');