diff --git a/application/core/EA_Migration.php b/application/core/EA_Migration.php index 30b7cc5b..b4cd7f0c 100644 --- a/application/core/EA_Migration.php +++ b/application/core/EA_Migration.php @@ -11,6 +11,8 @@ * @since v1.4.0 * ---------------------------------------------------------------------------- */ +require_once __DIR__ . '/../../system/libraries/Migration.php'; + /** * Easy!Appointments migration. * diff --git a/application/libraries/Instance.php b/application/libraries/Instance.php index b59f5487..1eb090f0 100644 --- a/application/libraries/Instance.php +++ b/application/libraries/Instance.php @@ -11,6 +11,7 @@ * @since v1.4.0 * ---------------------------------------------------------------------------- */ +require_once __DIR__ . '/../core/EA_Migration.php'; /** * Instance library. @@ -38,6 +39,7 @@ class Instance { $this->CI->load->model('customers_model'); $this->CI->load->library('timezones'); + $this->CI->load->library('migration'); } /**