XenForo
Administrative
- Thread starter
- Admin
- #1
Related to; Fixed - Redundant IO check on loading phrase group
In
PHP:
Read more
ادامه مطلب...
In
XF\Template\Templater::getTemplateDataFromSource
, there is a file_exists
check before an include
call, which is redundant;PHP:
Code:
protected function getTemplateDataFromSource($type, $name)
{
$file = $this->getTemplateFilePath($type, $name);
if (!file_exists($file))
{
return false;
}
return include($file);
}
include
returns false on...Read more
ادامه مطلب...