Answer the question
In order to leave comments, you need to log in
How to force JS and CSS to be loaded from separate domain in Opencart 2.3?
I want to load statics from a separate domain.
I figured out the pictures, changed the file: catalog/model/tool/image.php
here it is:
return $this->config->get('config_ssl') . 'image/' . $new_image;
return HTTPS_IMAGE . 'image/' . $new_image;
return $this->config->get('config_url') . 'image/' . $new_image;
return HTTP_IMAGE . 'image/' . $new_image;
HTTP_CATALOG
but HTTPS_CATALOG
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question