Access PHPMaker Functions from another PHP website

I have a php website app on the same server but different folder, want to access PhpMaker basic functions like IsLoggedIn() and CurrentUserInfo(‘Surname’) from a non PhpMaker websiteI tried to follow this: https://discourse.hkvstore.com/t/use-phpmaker-scripts-in-my-existing-website-v2021/3735/1 - not working too.

You cannot access it from another website.

The closest approach is move your content in another website to your PHPMaker generated web application by using Custom Files.

I have also noted an error when you generate custom files if you dont select Include Common Files. It gives Error: The content of the Custom File ‘test’ is empty. when generating the files

That error means, you have to enter the content into your Custom File. Otherwise, the generating process will be failed.