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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.5
    • 3.0.4
    • Other
    • None
    • PHP Environment: 5.2.5
      Database: Oracle 10g

      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

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

              Created:
              Updated:
              Resolved: