Activation link of registry show incorrect port of server due to docker (v2020)

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mgqz
User
Posts: 91

Activation link of registry show incorrect port of server due to docker (v2020)

Post by mgqz »

I have an app phpm20 that runs ok in development environment but I am deploying in a docker, that runs the server internally on port 8080 and maps to port 80 in the host server of the docker image, How do I fix this so the link goes without the 8080 port (internal) ..

I see a function FullUrl that generates the link but don't know how to setup this to work in both environments.

thanks.


arbei
User
Posts: 9437

Post by arbei »

mgqz wrote:

I have an app phpm20...

Did you mean v2020? If so, it is too old. If v2024, the email template supports PHP, you may change the $ActivateLink by PHP as you need.


mgqz
User
Posts: 91

Post by mgqz »

Hello, yes is PHPM 2020, I have 2024 but have not been able migrate my app..


arbei
User
Posts: 9437

Post by arbei »

You may search "ActivateLink" in this forum and find old topics for older versions.


Post Reply