<?php /* Inspipred from Autoload from version 1.2.2 */ spl_autoload_register( function ($class) { static $classes = NULL; static $path = NULL;; if ($classes === NULL) { $classes = array( ___CLASSLIST___ ); $path = dirname(dirname(dirname(__FILE__))); } $cn = strtolower($class); if (isset($classes[$cn])) { require $path . $classes[$cn]; } } );