Skip to content
Snippets Groups Projects
Unverified Commit f71afe4a authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #17997 from civicrm/5.28

5.28
parents e9b119ad df6303eb
Branches
Tags
No related merge requests found
......@@ -54,13 +54,6 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
};
Civi::paths()->register('cms', $cmsRoot);
Civi::paths()->register('cms.root', $cmsRoot);
Civi::paths()->register('civicrm.files', function () {
$upload_dir = wp_get_upload_dir();
return [
'path' => $upload_dir['basedir'] . DIRECTORY_SEPARATOR . 'civicrm' . DIRECTORY_SEPARATOR,
'url' => $upload_dir['baseurl'] . '/civicrm/',
];
});
Civi::paths()->register('civicrm.root', function () {
return [
'path' => CIVICRM_PLUGIN_DIR . 'civicrm' . DIRECTORY_SEPARATOR,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment