Jump to content

loading image via root/modules/paypal/img breaks SSL


Recommended Posts

Hello

why does the loading of a module's image break SSL?


I noticed that the old Paypal module V3.48 (we have to use this one) broke the https/SSL of our backoffice. At least that is what the browsers postponed.
Namely, the "http://www.mysite.com/modules/paypal/logo.gif".

In the modules  \modules\paypal\views\templates\back\admin_order\refund.tpl I found this:


<legend><img src="{$base_url}modules/{$module_name}/logo.gif" alt="" />{l s='PayPal Refund' mod='paypal'}</legend>

I exchanged the reference with https://www.mysite.com/modules/paypal/logo.gif and all is fine!


Is there a more sofisticated solution of making use of Pretas' variables and on the otherhand not 'breaking' https/SSL as in this case?

thanks a lot
and a happy new year

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...