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

php noticewhen loading domain.com/ezjscore/call/myext::func from file_get_contents() php func

    XMLWordPrintable

    Details

      Description

      In a php script, I do:

              $url = 'ezjscore/call/djutils::ezjscore';
              eZURI::transformURI($url, false, 'full');
              $content = file_get_contents($url);
      

      but then I get a notice on undefined index HTTP_ACCEPT

      file_get_contents("http://...") doesn't send the HTTP_ACCEPT, ezjscore should handle this fact

      A pull request is coming, easy fix...

        Attachments

          Activity

            People

            Assignee:
            andre1 André R
            Reporter:
            enzo Jerome Despatis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: