Need guidnace for changing java script file path to our localhost.

Issue #1289 closed
B.JEGADEESAN created an issue

Hi,

In our environment we are installed and configured Mailpiler version 1.4.1 at Centos 8.7 with Nginx Mysql and Php, After installation and configuration completed to run with the url. While running the url some javascripts are not getting response because in our environment not allowed to get the request from the external website (like : code.jquery.com & bootstap.com). So we need to change that javascripts url path to our localhost.

We found the url path configuration in config.php file, also we found the javascript files in the view/javascript directory in our localhost. Please guide me how to change configuration with our environment setup.

Comments (2)

  1. Janos SUTO repo owner

    Well, basically you described what you need to do. Download the javascript files to the view/javascript folder, then put the $config['JS_CODE'] settings to config-site.php referencing the local javascript files. See /var/piler/www/config.php how it looks by default.

  2. Log in to comment