Location: PHPKode > scripts > PHP Hosting Directory > phphost_directoryv2/config.inc.php
<?

##### THIS IS VARIABLES TO SET

$DB_HOST    = "localhost"; # DATABASE HOST
$DB_NAME    = ""; # DATABASE NAME
$DB_USER    = ""; # DATABASE USER
$DB_PASSWD  = ""; # DATABASE PASSWORD

#############################################################
#############################################################
#############################################################

define('INCLUDED_MAILER_CONFIG', 1);
error_reporting(E_ALL ^ E_NOTICE);

$config = array();

$config['smtp_user']  = "hide@address.com"; # SENDER FOR ALL LETTERS IN SCRIPT

$config['base_url'] = "http://".$_SERVER['HTTP_HOST']."/"; # THIS IS BASE URL

$config['root_url']    = "http://".$_SERVER['HTTP_HOST']."/";

$config['root_dir']    = dirname(__FILE__); 
$config['tpl_cache_level'] = 0;

include_once("$config[root_dir]/smarty/Smarty.class.php");

include_once("$config[root_dir]/common.inc.php");
include_once("$config[root_dir]/db.inc.php");
include_once("$config[root_dir]/mail/htmlMimeMail.php");

$AUTO_APPROVE_PLAN = mysql_result(mysql_query("SELECT `status` FROM `hsl_automatic` WHERE `name`='plan'"), 0, 0);
$AUTO_APPROVE_REVIEW = mysql_result(mysql_query("SELECT `status` FROM `hsl_automatic` WHERE `name`='review'"), 0, 0);

?>
Return current item: PHP Hosting Directory