Custom Themes and Integration with PHP Pages
Is there any documentation or information about integrating Hubzilla with regular PHP pages on the same domain?
The goal is to use Hubzilla as the login engine for a PHP website, which has its own template and codebase. Hubzilla would do what it does best, and the other codebase would do what it does best. Ideally, the Hubzilla theme would match the themes of the rest of the website as much as possible.
I've integrated other scripts together before, and it usually involves one or both of the following:
1. Using an include file that passes on PHP variables to the other script.
2. Using an API to interact with the other script.
Basically, the biggest thing the PHP pages need to know is if someone is logged in, and if so, who? Other than that, the two scripts wouldn't really need to interact that much.
Any easy way to accomplish this?