Yes, this worked from the start when I copied it as written. When I tried to actually type it all out, not so much. I probably made a few hard-to-spot typos. But this short tutorial works!
I had the same errors as Auto Default. I then moved the 'BASEPATH' definition to the bootstrap.php file and it worked. Not sure why the 'BASEPATH' definition in the config.php wouldn't follow through on the require statement in the bootstrap.php file. I copy/pasted all the code to make sure that it wasn't me making weird typing errors that I couldn't spot. Weird! But nevertheless, this was great little tutorial! It went a long way toward helping me to understand the general nature of how all those php frameworks operate.