mirror of
https://github.com/YGGverse/Yo.git
synced 2025-03-12 13:21:29 +00:00
fix identicon
This commit is contained in:
parent
81b2e1bdd1
commit
8513008e94
@ -235,8 +235,15 @@ $results = $index->search($q)
|
||||
<?php
|
||||
$identicon = new \Jdenticon\Identicon();
|
||||
|
||||
$identicon->setValue($result->url);
|
||||
$identicon->setValue(
|
||||
parse_url(
|
||||
$result->url,
|
||||
PHP_URL_HOST
|
||||
)
|
||||
);
|
||||
|
||||
$identicon->setSize(16);
|
||||
|
||||
$identicon->setStyle(
|
||||
[
|
||||
'backgroundColor' => 'rgba(255, 255, 255, 0)',
|
||||
|
Loading…
x
Reference in New Issue
Block a user