XenForo
Administrative
- Thread starter
- Admin
- #1
So it will not be overwritten every XF upgrades.
Basically, I want to return 404 for private threads/forums instead of 403 status.
File to Edit
/src/XF/ControllerPlugin/Error.php
Change line 72 & 75
PHP:
Read more
ادامه مطلب...
Basically, I want to return 404 for private threads/forums instead of 403 status.
File to Edit
/src/XF/ControllerPlugin/Error.php
Change line 72 & 75
PHP:
Code:
public function actionRegistrationRequired()
{
$view = $this->view('XF:Error\RegistrationRequired', 'login', [
'error' => \XF::phrase('requested_page_not_found'),
'providers' =>...
Read more
ادامه مطلب...