[RSS Feed/News] Server based trigger does not support buildLink properly

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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:

$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...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom