Open lewissme opened 4 months ago
Maybe the faster way to solve that is adjusting this part of the code... Looks your URL has two ports defined, than it does not access. Mabe a simple string replace, removing the undesired port, can fix that while a more flexible solution is not available.
on base.php line 65 have this: // check if webserver is not running on default port
if ($_SERVER['SERVER_PORT'] != 80 || $_SERVER['SERVER_PORT'] != 443) { $baseUrl .= ':' . safe_get_env('SERVER_PORT'); }
The problem is if i have the webserver on port 4430 and in my router i forward the external port 974 to internal 4430, the images will be generate this wrong sources: https://site.com:974:4430/dotproject/modules/projects/images/applet3-48.png