XenForo
Administrative
- Thread starter
- Admin
- #1
Calling
This is because
PHP:
Read more
ادامه مطلب...
getThreadFromUrl
from an admin app context with a non-friendly public thread URL will fail.This is because
getThreadFromUrl($url, $type)
calls getRoutePathFromUrl($url)
which calls getExtendedUrl($url)
. However getExtendedUrl
work with the current request object to determine the base URL, not the actual $type
argument.PHP:
Code:
public function getThreadFromUrl($url, $type = null, &$error = null)
{
$routePath =...
Read more
ادامه مطلب...