<?php

if(!defined('LOCAL_MODE')) {
	die('<span style="font-family: tahoma, arial; font-size: 11px">config file cannot be included directly');
}

if (LOCAL_MODE) {
	// Settings for local midas server do not edit here
	
	// database settings
	$ARR_CFGS["db_host"] = 'localhost';
	$ARR_CFGS["db_name"] = 'manglaplastic_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"] = 'manglaplastic_Db';
	$ARR_CFGS["db_user"] = 'manglaplastic_User';
	$ARR_CFGS["db_pass"] = 'se?u@YZ0MMgx';
	define('SITE_SUB_PATH', '');
}

$GLOBALS['dbcon'] = mysqli_connect($ARR_CFGS["db_host"], $ARR_CFGS["db_user"], $ARR_CFGS["db_pass"], $ARR_CFGS["db_name"]);
$dbcon =$GLOBALS['dbcon'];

define('SITE_URL_PATH', 'https://www.manglaplastic.com');
define('NO_IMG_URL', 'https://www.manglaplastic.com/no-img.jpg');
define('SITE_ADMIN_URL',SITE_URL_PATH."/cmadmin");
define('PLUGINS_DIR', 'include/plugins');
define('ADMIN_DIR', 'cmadmin');


define('NO_IMG_URL', SITE_URL_PATH.'/assets/img/no-img.jpg');
define('BANNER_PATH', SITE_URL_PATH.'/uploaded-files/banner-image');


define('COMPANY_NAME', 'Mangla Plastic Industries');
define('SITE_KEY', '6Ldzr1UoAAAAANACRkdfzjVpaWNyz4ZWLvvwZtIJ');
define('SECRET_KEY', '6Ldzr1UoAAAAAFUuaEm-rLcuDydAUQ7Ek2EB7YHB');

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