Created
August 12, 2016 13:12
-
-
Save svenba/4087f82e207c1dbff497b54b5723bc83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<modification> | |
<id><![CDATA[HTTP_IMAGE + HTTPS_IMAGE Links and Sizes]]></id> | |
<version><![CDATA[OC v.2.x]]></version> | |
<vqmver><![CDATA[2.5]]></vqmver> | |
<author><![CDATA[Ernie - IP_CAM]]></author> | |
<file name="catalog/model/tool/image.php"> | |
<operation error="skip"> | |
<search position="replace"><![CDATA[return $this->config->get('config_ssl') . 'image/' . $new_image;]]></search> | |
<add><![CDATA[return HTTPS_IMAGE . $new_image . '" width="' . $width . '" height="' . $height;]]></add> | |
</operation> | |
<operation error="skip"> | |
<search position="replace"><![CDATA[return $this->config->get('config_url') . 'image/' . $new_image;]]></search> | |
<add><![CDATA[return HTTP_IMAGE . $new_image . '" width="' . $width . '" height="' . $height;]]></add> | |
</operation> | |
</file> | |
<file name="admin/model/tool/image.php"> | |
<operation error="skip"> | |
<search position="replace"><![CDATA[return HTTPS_CATALOG . 'image/' . $new_image;]]></search> | |
<add><![CDATA[return HTTPS_IMAGE . $new_image . '" width="' . $width . '" height="' . $height;]]></add> | |
</operation> | |
<operation error="skip"> | |
<search position="replace"><![CDATA[return HTTP_CATALOG . 'image/' . $new_image;]]></search> | |
<add><![CDATA[return HTTP_IMAGE . $new_image . '" width="' . $width . '" height="' . $height;]]></add> | |
</operation> | |
</file> | |
<file name="catalog/controller/payment/skrill.php,catalog/controller/total/voucher.php,catalog/model/checkout/order.php,catalog/model/openbay/ebay_product.phpcatalog/model/tool/image.php" error="skip"> | |
<operation error="skip"> | |
<search position="replace"><![CDATA[$this->config->get('config_url') . 'image/']]></search> | |
<add><![CDATA[HTTP_IMAGE]]></add> | |
</operation> | |
<operation error="skip"> | |
<search position="replace"><![CDATA[$this->config->get('config_ssl') . 'image/']]></search> | |
<add><![CDATA[HTTPS_IMAGE]]></add> | |
</operation> | |
</file> | |
</modification> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment