Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-8222

transfer class's file_exists() method fails on some platforms

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • 3.0.4
    • 3.0.5
    • Other
    • None
    • PHP Environment: 5.2.5
      Database: Oracle 10g

    Description

      On some platforms the file_exists() method may fail because the _ls() method may or may not return the path in each element. Also, if the path is returned, the directory separators may be mixed. This occurs on IIS7 using fsock and MS-DOS PATH styles.

      Stripping the listing of the path is probably the easiest way to ensure it will work on all platforms.

      Regards
      Mike Marchand

      Attachments

        Activity

          People

            Acyd Burn Meik Sievertsen [X] (Inactive)
            j5_dev j5_dev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: