Location: PHPKode > scripts > NConf > nconf-1.3.0-0/nconf/main.php
<?php
##
##  main CONFIG FILE,
##
##  all config files will be loaded here
##  also the functions will be loaded
##

# get this dirname
$config_dir = dirname(__FILE__).'/config/';
#
# NConf Specific configuration
#
require_once($config_dir.'/nconf.php');
# now we can use NCONFDIR as "PATH"
#
# NConf Version info
#
require_once(NCONFDIR.'/include/version.php');

#
# Authentication / login
#
require_once(NCONFDIR.'/config/authentication.php');

#
# NConf classes
#
require_once(NCONFDIR.'/include/includeAllClasses.php');

#
# mysql-DB settings
#
require_once(NCONFDIR.'/config/mysql.php');
#
# mysql Initiate connection
#
$dbh = mysql_connect(DBHOST,DBUSER,DBPASS);
mysql_select_db(DBNAME);

#
# some misc gui things
#
require_once(NCONFDIR.'/include/gui.php');

#
# part for messages
#
require_once(NCONFDIR.'/include/messages.php');


##
## LOAD Functions
##
require_once(NCONFDIR.'/include/functions.php');

##
## start debug info
##
NConf_DEBUG::set('', 'DEBUG', 'Header / ACL / navigation debugging');


##
## LOAD Modules
##
require_once(NCONFDIR.'/include/modules.php');

?>
Return current item: NConf