From c2257428b2188fc709c76ec8f531287888de9741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 12 Aug 2015 21:16:00 +0200 Subject: store domainName in database --- src/Wallabag/CoreBundle/Entity/Entry.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Wallabag/CoreBundle/Entity') diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 9aebc55b..7d2d2027 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php @@ -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; } -- cgit v1.2.3