Current File : /home/inlingua/public_html/sensoriumpsychologists.com/include/config/config_server.php |
<?php
ob_start();
error_reporting(1);
#session reassigning using cookie here.
session_start();
# Server path.
define("HTTP_SERVER", "http://".$_SERVER['HTTP_HOST'],true);
# Set website
define("DIR_WS_SITE", HTTP_SERVER."/beta4/",true);
#Document root.
define("DIR_FS", $_SERVER['DOCUMENT_ROOT']."/beta4/",true);
#Set Website Filesystem
define("DIR_FS_SITE", DIR_FS."/",true);
# Database
$DBHostName = "localhost";
$database='inlingua_sensorioum_db';
$DBDataBase = $database;
$DBUserName = "inlingua_sensorioum_user";
$DBPassword = "*16kgjCwq1eSbxRe";
# include sub-configuration files here.
require_once(DIR_FS_SITE."include/config/url.php");
# include the database class files.
require_once(DIR_FS_SITE_INCLUDE_CLASS."mysql.php");
require_once(DIR_FS_SITE_INCLUDE_CLASS."query.php");
require_once(DIR_FS_SITE_INCLUDE_CLASS."validation_u.php");
require_once(DIR_FS_SITE_INCLUDE_CLASS."validation_p.php");
# include session files here.
# include the utitlity files here
require_once(DIR_FS_SITE_INCLUDE_CLASS."phpmailer.php");
require_once(DIR_FS_SITE_INCLUDE_CONFIG."constant.php");
require_once(DIR_FS_SITE_INCLUDE_CONFIG."message.php");
# custom files
include_once(DIR_FS_SITE_INCLUDE_CLASS.'login_session.php');
include_once(DIR_FS_SITE_INCLUDE_CLASS.'admin_session.php');
# include functions here.
include_once(DIR_FS_SITE_INCLUDE_FUNCTION.'date.php');
include_once(DIR_FS_SITE_INCLUDE_FUNCTION.'email.php');
//require_once(DIR_FS_SITE_INCLUDE_FUNCTION."dBug.php");
# shopping cart
include_once(DIR_FS_SITE_INCLUDE_CLASS.'language.php');
# include function files here.
include_once(DIR_FS_SITE.'include/function/basic.php');
#date_default_timezone_set('Asia/Calcutta');
# fix for stripslashes issues in php
if(get_magic_quotes_gpc()):
$_POST=array_map_recursive('stripslashes', $_POST);
$_GET=array_map_recursive('stripslashes', $_GET);
$_REQUEST=array_map_recursive('stripslashes', $_REQUEST);
endif;
?>