Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7252

Use IMAGETYPE_ constants in get_supported_image_types()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-a1
    • None
    • Other
    • None

      Currently includes/functions_posting.php contains the IMAGETYPE_ constant values written as magic numbers, this should be changed to use the constants. See: #25925.

      Same applies to fileupload::image_types() in includes/functions_upload.php.

            Oleg Oleg [X] (Inactive)
            ToonArmy Chris Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: