Issue #1697936 by DamienMcKenna: Potential problem with URL generation due to use of hardcoded path rather than use of base_path().