Skip to content
Snippets Groups Projects
Commit eb9d102d authored by mattwire's avatar mattwire
Browse files

Fix \#16 \Civi\Firewall\Firewall class not found

parent 3ab730bb
No related branches found
No related tags found
No related merge requests found
......@@ -9,11 +9,11 @@ use CRM_Firewall_ExtensionUtil as E;
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config/
*/
function firewall_civicrm_config(&$config) {
_firewall_civix_civicrm_config($config);
// Defaults are not loaded until *after* hook_civicrm_config is called by default
\Civi::service('settings_manager')->useDefaults();
$firewall = new \Civi\Firewall\Firewall();
$firewall->run();
_firewall_civix_civicrm_config($config);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment