Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11566

ez4: webdav.php misses autoload

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.0beta1
    • 4.0.0alpha1
    • Legacy > WebDAV
    • None

    Description

      The start of webdav.php should be something along the lines of:

      if ( version_compare( phpversion(), '5.2' ) < 0 )
      {
      error_log( "Unsupported PHP version " . phpversion() .". eZ Publish 4.x does not run with PHP 4");
      header( "HTTP/1.1 404 Not Found" );
      print ( "WebDAV functionality is disabled!" );
      exit;
      }

      require 'autoload.php';

      ignore_user_abort( true );
      ob_start();

      BTW: index.php mentions 'eZ Publish 3.x' instead of '4.x'...

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: