mirror of
https://github.com/psenough/pouet.net.git
synced 2025-01-16 20:58:27 +01:00
Link to the post-redirect url
This commit is contained in:
parent
caad286ff4
commit
f98540accf
@ -110,7 +110,7 @@ while (is_resource($result) && $row = mysql_fetch_object($result))
|
||||
$size = getimagesize($_SERVER["DOCUMENT_ROOT"].'/screenshots/'.$screenshot);
|
||||
$screenshot_type = $size['mime'];
|
||||
|
||||
$prod->screenshot->url = 'http://www.pouet.net/screenshots/'.$screenshot;
|
||||
$prod->screenshot->url = 'http://pouet.net/screenshots/'.$screenshot;
|
||||
$prod->screenshot->filesize = $screenshot_size;
|
||||
$prod->screenshot->type = $size['mime'];
|
||||
}
|
||||
@ -234,7 +234,7 @@ while (is_resource($result) && $row = mysql_fetch_object($result))
|
||||
|
||||
$link = new stdClass();
|
||||
$link->name = 'pouet.net';
|
||||
$link->url = 'http://www.pouet.net/prod.php?which='.$row->id;
|
||||
$link->url = 'http://pouet.net/prod.php?which='.$row->id;
|
||||
|
||||
$prod->affiliate_links[] = $link;
|
||||
|
||||
@ -401,4 +401,4 @@ if (isset($dbl))
|
||||
}
|
||||
|
||||
echo json_encode($output);
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user