From 21696b36c5703bf2672c760fed1f4ee573b7c5d9 Mon Sep 17 00:00:00 2001 From: iaretechnician Date: Fri, 5 Dec 2025 15:27:13 -0500 Subject: [PATCH] fix --- modules/billing/includes/panel_bridge.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/billing/includes/panel_bridge.php b/modules/billing/includes/panel_bridge.php index 1dc1c569..477c0f01 100644 --- a/modules/billing/includes/panel_bridge.php +++ b/modules/billing/includes/panel_bridge.php @@ -32,6 +32,12 @@ if (!function_exists('billing_panel_bootstrap')) { $root = dirname($root); } + static $includeInjected = false; + if (!$includeInjected) { + set_include_path($root . PATH_SEPARATOR . get_include_path()); + $includeInjected = true; + } + // Define panel constants if they are not already defined (panel runtime does this for us). if (!defined('INCLUDES')) { define('INCLUDES', 'includes/');