forked from wallabag/wallabag
store domainName in database
This commit is contained in:
@ -266,6 +266,7 @@ class Entry
|
||||
{
|
||||
$this->content = $content;
|
||||
$this->readingTime = Tools::getReadingTime($content);
|
||||
$this->domainName = parse_url($this->url, PHP_URL_HOST);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user