A simple autoloader in PHP, with error logging.