Create new Contact\Redir module class
- Move /redir route to /contact/redir
This commit is contained in:
parent
386c08aa05
commit
4a626ef101
14 changed files with 241 additions and 164 deletions
|
@ -1408,7 +1408,7 @@ function photos_content(App $a)
|
|||
$author = ['uid' => 0, 'id' => $item['author-id'],
|
||||
'network' => $item['author-network'], 'url' => $item['author-link']];
|
||||
$profile_url = Contact::magicLinkByContact($author);
|
||||
if (strpos($profile_url, 'redir/') === 0) {
|
||||
if (strpos($profile_url, 'contact/redir/') === 0) {
|
||||
$sparkle = ' sparkle';
|
||||
} else {
|
||||
$sparkle = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue