Hi there,
Can some one tell me if there is a direct variable like $CFG->dataroot to access the /var/www/ part of a site ?
Like If I need to access myfolder from the level below, how do I access that path thru code,
/
var
www
moodledata
mysite
myfolder
myfiles
If i need to access myfolder/myfiles then what can I write in the Moodle code to traverse that path ?