diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index 2fdb9aa54..b21279624 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -37,17 +37,7 @@ */ /* we must load db first, never delete this require */ - -/* these may be delete future */ - - - - - - - - - +require_once 'api/api.php'; define('CRM_REQUEST_TIME', (int) $_SERVER['REQUEST_TIME']); diff --git a/CRM/Core/HTMLInputCoder.php b/CRM/Core/HTMLInputCoder.php index 470a97dee..0bbcf81f9 100644 --- a/CRM/Core/HTMLInputCoder.php +++ b/CRM/Core/HTMLInputCoder.php @@ -40,6 +40,7 @@ * */ +require_once 'api/Wrapper.php'; class CRM_Core_HTMLInputCoder implements API_Wrapper { private static $skipFields = NULL;