Fixed Dummy thumb breaks on configured externalDataPath

veraderock

Member
We configure our xenForo installs to keep the data and internal_data folders out of our docroot. With this setup the dummy.jpg file results in the filesystem path rather then the URL.

I'm attaching a patch file that fixes the issue, and 2 screengrabs to illustrate the problem.
 

Attachments

  • dummy-thumb-html.webp
    dummy-thumb-html.webp
    48.5 KB · Views: 25
  • dummy-thumb.webp
    dummy-thumb.webp
    115.7 KB · Views: 26
  • Core.php.patch.txt
    Core.php.patch.txt
    935 bytes · Views: 16
Top Bottom