Server : LiteSpeed
System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : outerorb ( 1091)
PHP Version : 8.1.34
Disable Function : mail
Directory :  /home2/outerorb/dev.outerorbittech.com/anant-engg/include/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: config.php

Path: /home2/outerorb/dev.outerorbittech.com/anant-engg/include/config.php

Size: 1.86 KB

Permissions: 0644

<?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"] = 'wpsbiz_anantengineeringDB';
	$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"] = 'wpsbiz_anantengineeringDB';
	$ARR_CFGS["db_user"] = 'wpsbiz_anantUser';
	$ARR_CFGS["db_pass"] = '{C@kqfx6hwF]';
	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.");
    }
	$admin_sql = mysqli_query($GLOBALS['dbconn'], "select name,email,cc,bcc,subject,address,companyName,phone,country,mobile,whatsapp_no,city,state,facebook_link,instagram_link,linked_link,youtube_link,twitter_link,company_video,companyAddress,targetlocation,analytics,mobile_meta,companyLogo from admin_details");
$admin_res = mysqli_fetch_array($admin_sql);
define('site_url', 'https://www.wpsbiz.com/Anant-Engineering2');
define('theme_url', 'https://www.wpsbiz.com/Anant-Engineering2/designer');
define('NO_IMG_URL', 'https://www.wpsbiz.com/Anant-Engineering2/uploaded-files/category/noimage.jpg');
define('SITE_ADMIN_URL',site_url."/wps-admin");
//define('PLUGINS_DIR', 'include/plugins');
define('ADMIN_DIR', 'wps-admin');
define('COMPANY_TAGLINE', '');
define('site_key', '6Ld_T_sdAAAAAJYYygzCQ9I068mGeRCu_Boz7ecO');
define('secret_key', '6Ld_T_sdAAAAABDPce5lEgKlKyuBFD1fxFGluR1-');
define('COMPANY_NAME','Anant Engineering');
$_GLOBALS['pgsize_arr']=array("1","5","10","25","50","100");
?>

← Back to Directory Edit File 🔒 Chmod

WP File Manager