До изменения:
function onAfterDispatch()
{
if (JFactory::getApplication()->isSite() && $this->isFalangDriverActive()) {
include_once( JPATH_ADMINISTRATOR . '/components/com_falang/version.php');
$version = new FalangVersion();
if ($version->_versiontype == 'free' ) {
$this->setBuffer();
}
return true;
}
}
После изменения:
function onAfterDispatch()
{
if (JFactory::getApplication()->isSite() && $this->isFalangDriverActive()) {
include_once( JPATH_ADMINISTRATOR . '/components/com_falang/version.php');
$version = new FalangVersion();
/*if ($version->_versiontype == 'free' ) {
$this->setBuffer();
}*/
return true;
}
}