|
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/assetradar.outerorbittech.com/ | |
|
Path: /home2/outerorb/assetradar.outerorbittech.com/config.php
Size: 926 B
Permissions: 0666
<?php
// config.php - DB credentials and basic config
// Basic security headers
header('X-Frame-Options: SAMEORIGIN');
header('X-Content-Type-Options: nosniff');
header('Referrer-Policy: no-referrer-when-downgrade');
// Start session only if none exists to avoid "session already active" notices
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
require_once __DIR__ . '/inc/csrf.php';
define('DB_HOST', 'localhost');
define('DB_USER', 'outerorb_assetradar');
define('DB_PASS', 'Brown@4321M');
define('DB_NAME', 'outerorb_assetradar');
$mysqli = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME);
if ($mysqli->connect_errno) {
die("DB Connection failed: " . $mysqli->connect_error);
}
function esc($s) {
return htmlspecialchars($s, ENT_QUOTES, 'UTF-8');
}
// Set BASE_URL for assets and links (update this after migration if needed)
define('BASE_URL', 'https://assetradar.outerorbittech.com/');
?>