function __autoload

5.x index.php __autoload($class)

This function makes sure we auto-load our classes, if we need to. Largely used when loading objects our of our SESSION cache.

File

./index.php, line 16
The primary entry point for FlightPath.

Code

function __autoload($class) {
  // Load all of the classes, as well as the custom classes.
  require_once ("classes/all_classes.php");

}