2013-07-27, 09:24:28
Well I've fixed the problem of the private search results with inserting the following code in indexer.class.php line 211:
But I'm not sure if it really is a problem of the I18N Search plugin or maybe a problem of the I18N plugin because the private entry in the translated xml file is empty.
Code:
else if(strrpos($filename,'_') === strlen($filename)-7) {
$defaultFile = substr($filename,0,strlen($filename)-7).'.xml';
if(is_file(GSDATAPAGESPATH . $defaultFile)) {
$defaultPagedata = getXML(GSDATAPAGESPATH . $defaultFile);
$private = (string) $defaultPagedata->private;
if ($private == 'Y') continue;
}
}
But I'm not sure if it really is a problem of the I18N Search plugin or maybe a problem of the I18N plugin because the private entry in the translated xml file is empty.