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 // new in 3.50. first element is db handler, the second is the db driver used by the handler
\r
14 // default is $MYSQL_HANDLER = array('mysql','mysql');
\r
15 //$MYSQL_HANDLER = array('mysql','mysql');
\r
16 //$MYSQL_HANDLER = array('pdo','mysql');
\r
17 $MYSQL_HANDLER = array('mysql','');
\r
19 // main nucleus directory
\r
20 $DIR_NUCLEUS = '/your/path/to/nucleus/';
\r
23 $DIR_MEDIA = '/your/path/to/media/';
\r
25 // extra skin files for imported skins
\r
26 $DIR_SKINS = '/your/path/to/skins/';
\r
28 // these dirs are normally subdirs of the nucleus dir, but
\r
29 // you can redefine them if you wish
\r
30 $DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
\r
31 $DIR_LOCALES = $DIR_NUCLEUS . 'locales/';
\r
32 $DIR_LIBS = $DIR_NUCLEUS . 'libs/';
\r
34 if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
\r
35 echo "Configuration error, please run the install script or modify config.php";
\r
40 include($DIR_LIBS.'globalfunctions.php');
\r