[NEED HELP] files in dataroot directory

[NEED HELP] files in dataroot directory

Andrew Leonheart - દ્વારા
Number of replies: 0
Hello all...

I need some help, hope you can help me.
I installed moodle in my computer. I'm using vertrigo as apache and mysql server

after I instaled it, in config.php there's a variable:
$CFG->dataroot = 'C:\Program Files\VertrigoServ/moodle01data';

while i looked in the directory, the address is 'C:\Program Files\VertrigoServ\moodle01data'

then i put an image file (a.jpg) in 'C:\Program Files\VertrigoServ\moodle01data\file_storage\user\13312\a.jpg' => here is the address in my computer...

when i want to access that image, i thought i could use

"$CFG->dataroot" . "\file_storage\user" . "\$USER->id" . "\a.jpg"
($USER->id = 13312)

which is equal to

C:\Program Files\VertrigoServ/moodle01data\file_storage\user\13312\a.jpg

while the address in my computer is:

C:\Program Files\VertrigoServ\moodle01data\file_storage\user\13312\a.jpg

that makes the image file (a.jpg) cannot be accessed... do anyone know how to access file in dataroot directori?
I've tried to use
C:\Program Files\VertrigoServ/moodle01data/file_storage/user/13312/a.jpg

but it failed too... anyone can help me??