Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37670

Re: Simple proxy script workaround for Moodle's file API

$
0
0
by Matteo Scaramuccia.  

Hi Matt,
since you like a simple HTTP 404 with no payload I missed to give you that option. You can do that in the Moodle way as sampled below:

} else {
    send_header_404();
die;
}

HTH,
Matteo


Viewing all articles
Browse latest Browse all 37670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>