AndyB
Well-known member
- Affected version
- 2.2.2
When using the Server based trigger function:
Admin control panel -> Setup -> Options -> System and performance -> Job run trigger -> Server based trigger
Links created by buildLink do not contain the directory XenForo is installed in.
Example PHP code:
This results in:
but the XenForo is installed in a directory called 'forums' and it should be:
Admin control panel -> Setup -> Options -> System and performance -> Job run trigger -> Server based trigger
Links created by buildLink do not contain the directory XenForo is installed in.
Example PHP code:
$link = \XF::app()->router('public')->buildLink('posts', $post);
This results in:
https://domain.com/posts/1234
but the XenForo is installed in a directory called 'forums' and it should be:
https://domain.com/forums/posts/1234