Fix picwall img url for self note
This commit is contained in:
parent
3801d999a0
commit
ee610d4505
1 changed files with 3 additions and 0 deletions
|
@ -620,6 +620,9 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager,
|
||||||
/*if (isset($link['thumbnail']) && $link['thumbnail'] !== false) {
|
/*if (isset($link['thumbnail']) && $link['thumbnail'] !== false) {
|
||||||
$linksToDisplay[] = $link; // Add to array.
|
$linksToDisplay[] = $link; // Add to array.
|
||||||
}*/
|
}*/
|
||||||
|
if ($link['url'][0] === '?' && strlen($link['url']) === 7) {
|
||||||
|
$link['url'] = index_url($_SERVER) . $link['url'];
|
||||||
|
}
|
||||||
|
|
||||||
$thumUrl = $conf->get('plugins.ExternalThumbshot_URL');
|
$thumUrl = $conf->get('plugins.ExternalThumbshot_URL');
|
||||||
if(!empty($conf->get('plugins.ExternalThumbshot_KEY'))){
|
if(!empty($conf->get('plugins.ExternalThumbshot_KEY'))){
|
||||||
|
|
Loading…
Reference in a new issue