REVERT WEB_COURSE_PATH to REL_COURSE_PATH. Add a strpos() to verify if the url contents WEB_COURSE_PATH-refs #6817