PHP Autoload not working

Can anyone help me with this autoload? The errors I am receiving are:

Fatal error: Class ‘Genesis\Controller\Login’ not found in /genesis/genesis/index.php on line 30

I created a Pastebin so as to not have to copy/paste all of the code here. In the pastebin is all of the files needed as well as my file structure.

Any help would be much appreciated. I’m really at a loss.


Your function needs to be named __autoload, not autoload. And it needs to actually include something, not just return a file name.