GX-Bug #46084 » PinterestImageURLFix.patch
src/templates/Honeygrid/social_sharing/get.php (revision ) | ||
---|---|---|
19 | 19 |
$state = isset($_POST['state']) ? $_POST['state'] : 'off'; |
20 | 20 |
$url = isset($_POST['url']) ? $_POST['url'] : ''; |
21 | 21 |
$title = isset($_POST['title']) ? $_POST['title'] : ''; |
22 |
$image = isset($_POST['product_image']) ? GM_HTTP_SERVER . urlencode($_POST['product_image']) : ''; |
|
22 |
$image = isset($_POST['product_image']) ? GM_HTTP_SERVER . DIR_WS_CATALOG . urlencode($_POST['product_image']) : '';
|
|
23 | 23 |
$pathname = DIR_FS_CATALOG . 'templates/' . CURRENT_TEMPLATE . '/social_sharing/services/' . basename($service) . '.php'; |
24 | 24 |
|
25 | 25 |
if(file_exists($pathname)) |