mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
store domainName in database
This commit is contained in:
parent
d990dc6f05
commit
c2257428b2
7 changed files with 8 additions and 42 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue