Update autoload.php

Fixed a critical error in the class.