load->model('setting/extension'); $extension_info = $this->model_setting_extension->getExtensionByCode('currency', $this->config->get('config_currency_engine')); if ($extension_info) { $this->load->controller('extension/' . $extension_info['extension'] . '/currency/' . $extension_info['code'] . '.currency', $this->config->get('config_currency')); } } }