Moving the module in the file system breaks configured fonts

Created on 11 July 2018, almost 6 years ago
Updated 7 June 2023, about 1 year ago

Problem/Motivation

Moving the module around in the file system breaks image captchas because it can no longer the fonts that it set on hook_install().

Proposed resolution

Possibly use a placeholder in default config that is resolved on lookup instead of the hook_install( )code, e.g. %image_captcha_module%/fonts/...

If core would have added support for drupal-module:// streamwrapper then that could be used, but unfortunately...

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Image Captcha (image_captcha)

Created by

πŸ‡¨πŸ‡­Switzerland Berdir Switzerland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024