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/');