modxcms/revolution — pull request #11819 by jpdevries (2014-07-24 22:42:35+00:00)
Title: Fix Incorrect urlAbsolute Path (again)

This commit adds a ternary to set `urlAbsolute ` to `urlAbsoluteWithPath ` if
`baseUrlRelative` is set to `No`
Closes modxcms/revolution#11291 ( again :( )

In 2.2.14 and prior, there was a bug where if you set the `baseUrlRelative` to No and `baseUrl` to `/` the `urlAbsolute` would be incorrect.

A patch that was merged in 2.2.15 fixed the above issue, but caused another. With default media system settings of `baseUrlRelative` set to `Yes` the `urlAbsolute` was doubling up ex:
`assets/uploads/assets/uploads/my.jpg`