1
0
Fork 0
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:
Nicolas Lœuillet 2015-08-12 21:16:00 +02:00
parent d990dc6f05
commit c2257428b2
7 changed files with 8 additions and 42 deletions

View file

@ -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;
}