The vae_include() function is a replacement of the PHP internal include() construct that is designed to work properly with the Vae Local Development Environment.

Use it as you would use include() in PHP.

If you are using the Vae Local Development Environment, this will ensure that the latest version of the included file from your development machine is included when developing locally.

This function will error if the file being included does not exist, despite the different PHP behavior on their include().

You may call this function multiple times on the same filename and the file will be included twice. Use vae_include_once() if you want the file to be only included a single time.

vae_include() is identical in function to vae_require().



  • $filename - Filename to include.


Returns true.

Sample Usage