enrol flatfile path adds extra backslashes, doubles them each time

enrol flatfile path adds extra backslashes, doubles them each time

by elearning developer -
Number of replies: 1
Using the Flat File enrol module, in Moodle 1.9.5 on a Windows 2003 server, I completed the settings option, enrol_flatfilelocation, to point to a flat file using a Windows network path:

\\server\folder1\folder2\enrollData.txt

Every time I return to the page to edit or view the flat file data, the slashes are doubled:

\\\\server\\folder1\\folder2\\enrollData.txt

It also adds these slashes every time the cron runs. It still works after many slashes are added, however, I would like to fix it - I don't want to count on it working with hundreds of slashes. How can I fix this?
Average of ratings: -
In reply to elearning developer

Re: enrol flatfile path adds extra backslashes, doubles them each time

by elearning developer -
Correction to the earlier post: Moodle does not add slashes to the file path every time the cron runs - they are added only when viewing the page to edit flat file settings.

So, a fix would be nice; however, since it only does this when the settings are viewed, it appears to not destabilize my installation.