file:// protocol

file:// protocol

by tony chesney -
Number of replies: 1

Hi

Something I'm developing outside of a mod or a block requires me to link to local  files at the top level of my moodledata folder. 

In View Source, for the page containing the link is, the link is:

<a href="file://C:\xampplite\moodledata\myppt.ppt">Myppt</a>
In reply to tony chesney

Re: file:// protocol

by tony chesney -
actually, could I re-ask that question as, I notice the moodle file upload area is normally outside the web root. The file opening is handled by file.php. Would one expect a php file under the web root to be able to open a say ppt file above the web root, or is there some bit of configuration that allows this to happen?