civicrm-core/extern/widget.php not being copied over
- OS: CentOS Linux release 7.8.2003 (Core)
- Apache: 2.4.6
- MariaDB: 5.5.65
- PHP: 7.2.30
- CiviCRM: 5.26.1
- Drupal: 8.8.5
Project was created using roundearth/drupal-civicrm-project
vendor/civicrm/civicrm-core/extern
does not get copied to web/libraries/civicrm/core
"extra": {
"civicrm-asset": {
"assets:core": {
"include": ["js/**", "css/**", "ang/**", "templates/**.png", "templates/**.jpg", "extern/**"]
}
}
}
I've added this to my composer.json which did copy over everything in extern to libraries/civicrm/core/extern, namely widget.php. Now I'm just getting a 404 (Forbidden) error when trying to access https://example.com/libraries/civicrm/core/extern/widget.php, not sure why though since widget.php has -rw-rw-r--
and is owned by the correct user & group.
Although.. I have a feeling even if I got this widget.php to be publically web accessible, it wouldn't work as it has a few requires with relative paths..
require_once '../civicrm.config.php';
require_once 'CRM/Core/Config.php';
require_once 'CRM/Utils/Request.php';
require_once 'CRM/Contribute/BAO/Widget.php';