I moved a PHP project to a new server and ran into a problem:
Wappler uses relative paths inside the API, for example
require(’…/…/dmxConnectLib/dmxConnect.php’);
But now PHP can’t find this path
only if you use
__DIR__.
but clearly there must be another way for this to work?