hellomoto Posted April 27, 2020 Share Posted April 27, 2020 I know you can include the API for a PW install elsewhere by including its index.php file, but what about when you have a PW /site and then a /site-something directory with another one where you want to query pages from the /site ? I guess REST would be one way but is there any way to bootstrap the other site's data directly via the PW API, like its $wire or $pages assigned to some variable? Link to comment Share on other sites More sharing options...
adrian Posted April 27, 2020 Share Posted April 27, 2020 I think this is what you need: https://processwire.com/blog/posts/multi-instance-pw3/ 1 Link to comment Share on other sites More sharing options...
hellomoto Posted April 27, 2020 Author Share Posted April 27, 2020 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now