Nodelist import debugging to make sure we do select nodelists correctly
This commit is contained in:
parent
2c504c3d66
commit
b32020e60f
@ -138,6 +138,13 @@ class Tic extends FTNBase
|
||||
*/
|
||||
public function isNodelist(): bool
|
||||
{
|
||||
Log::critical(sprintf('%s:D fo_nodelist_file_area [%d], fo_filearea_domain_filearea_id [%d], regex [%s] name [%s]',
|
||||
self::LOGKEY,
|
||||
$this->fo->nodelist_filearea_id,
|
||||
$this->fo->filearea->domain->filearea_id,
|
||||
str_replace(['.','?'],['\.','.'],'#^'.$this->fo->filearea->domain->nodelist_filename.'$#i'),
|
||||
$this->fo->name,
|
||||
));
|
||||
return (($this->fo->nodelist_filearea_id === $this->fo->filearea->domain->filearea_id)
|
||||
&& (preg_match(str_replace(['.','?'],['\.','.'],'#^'.$this->fo->filearea->domain->nodelist_filename.'$#i'),$this->fo->name)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user