Fix the settings externalpage URL

Without this patch, the URL works only if the Moodle is installed in the root directory of the domain.
Merge pull request #1 from mudrd8mz/patch-1

Fix the settings externalpage URL