<?php



if ($_SERVER['HTTP_HOST'] == "localhost") {

	// Settings for local midas server do not edit here

	// database settings

	$ARR_CFGS["db_host"] = 'localhost';

	$ARR_CFGS["db_name"] = 'supercabletray_db';

	$ARR_CFGS["db_user"] = 'root';

	$ARR_CFGS["db_pass"] = '';

	define('SITE_SUB_PATH', '');

}

else {

	// Settings for live server edit whenever shifting site to different server

	// database settings af$rT45

	$ARR_CFGS["db_host"] = 'localhost';

	$ARR_CFGS["db_name"] = 'supercabletray_superdb';

	$ARR_CFGS["db_user"] = 'supercabletray_Users';

	$ARR_CFGS["db_pass"] = 'Jvwzo=9v$K=i';

	define('SITE_SUB_PATH', '');

};



    $dbconn = new mysqli($ARR_CFGS["db_host"], $ARR_CFGS["db_user"], $ARR_CFGS["db_pass"],$ARR_CFGS["db_name"]);

    $GLOBALS['dbconn']=$dbconn;

    if($dbconn->connect_error) {

        die("Could not connect to database. Please check configuration and ensure MySQL is running.");

    }



define('site_url', 'https://www.supercabletray.in');

define('theme_url', 'https://www.supercabletray.in/designer');

define('NO_IMG_URL', 'https://www.supercabletray.in/uploaded-files/category/noimage.png');

define('SITE_ADMIN_URL',site_url."/cmadmin");

//define('PLUGINS_DIR', 'include/plugins');

define('ADMIN_DIR', 'cmadmin');

define('COMPANY_TAGLINE', 'Invest in Unforgettable Travel Experiences');

define('site_key', '6LfnHJEkAAAAAJtQ9zPkWU5CevnWWKUdJ6WY3yyF');

define('secret_key', '6LfnHJEkAAAAALiS4EdM0gjKV5IcSuaE_X5Mo9pF');
define('COMPANY_NAME','Super Cable Tray Pvt. Ltd.');



$_GLOBALS['pgsize_arr']=array("1","5","10","25","50","100");

?>