Fix cart.php and order.php to use centralized db.php

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-10-22 01:17:07 +00:00
parent 490b35c556
commit 92e410a030
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
global $db, $view, $settings;
include "panel/_db.php";
include "db.php";
$user_id=$_SESSION['user_id'] ?? 0;