Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4114

Logo fetching may use undefined function

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0-b2
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None

      Description

      The logo displayed is streamed via a controller which automatically detects the correct file type using mime_content_type(). Unfortunately that method is only available through an extension (see the docs: https://www.php.net/manual/en/function.mime-content-type.php). Granted that extension is included in PHP by default, but an extension none the less.

      We need to find an alternative, or at least show a message when setting a custom logo.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jan/21

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 42 minutes
              42m

                Agile