1
0
Fork 0
mirror of synced 2025-04-06 07:13:33 +03:00

Load WC_Retailcrm_Logger before other classes

This commit is contained in:
Alex Komarichev 2024-09-20 13:10:03 +03:00
parent 6e582a40ca
commit 11ce4ab60a

View file

@ -89,6 +89,10 @@ class WC_Retailcrm_Plugin
return;
}
if (!class_exists('WC_Retailcrm_Logger')) {
require_once(WC_Integration_Retailcrm::checkCustomFile('include/components/class-wc-retailcrm-logger.php'));
}
if (!class_exists('WC_Retailcrm_Icml')) {
require_once(WC_Integration_Retailcrm::checkCustomFile('include/class-wc-retailcrm-icml.php'));
}