File "global.php"
Full Path: /home/jaipuriiht/public_html/admin/includes/global.php
File size: 722 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
date_default_timezone_set('Asia/Kolkata');
error_reporting( E_ERROR || E_WARNING || E_PARSE || E_NOTICE & ~E_NOTICE );
if($_SERVER['HTTP_HOST']=='localhost' || $_SERVER['HTTP_HOST']==''){
define(MYSQL_HOST,'localhost');
define(MYSQL_DB_USER, 'root');
define(MYSQL_DB_PASS, '');
define(MYSQL_DB_NAME, 'iiht1');
define(LINK_PATH,'http://localhost/iiht1/');
} else {
define(MYSQL_HOST,'localhost');
define(MYSQL_DB_USER, 'jaipuriiht_iihtfront');
define(MYSQL_DB_PASS, '^W#P,o7)JK[L');
define(MYSQL_DB_NAME, 'jaipuriiht_front');
define(LINK_PATH,'https://www.jaipuriiht.com/admin/');
}
$connmysql = mysqli_connect(MYSQL_HOST,MYSQL_DB_USER, MYSQL_DB_PASS, MYSQL_DB_NAME) or die('here123');
?>