Fixes #5748: Smarty `{path` was generating absolute URLs instead of relative ones