Hey guys,
This was something we never planned for when developing vae_local. It was really meant as a VaeML development tool.
I'd be willing to give a shot at improving this.
My solution is probably going to be to create a new function called vae_include(), which will be a vae_local-compatible method of including PHP scripts. Is there any reason this wouldn't be good enough for you?
Kevin
I rolled out an update that provides the following new functions:
vae_include()
vae_include_once()
vae_require()
vae_require_once()
These functions are aware of the local development environment and should work as you imagine they would.
They are slightly different from PHP semantics in that paths should be specified relative to the document root, even if the current file is in a subfolder.
For example:vae_include("lib/php/whatever.php");
I haven't tested this on crazy setups, but it's working for me on basic test cases. If you run into any issues, let me know and we'll work through them.
It looks like you're new here. If you want to get involved, click one of these buttons!