Made it work in a subdirectory

For example I'm running it locally in http://localhost/z19r.
Now that works too :)
Now I've just created a base_url with the 'index.php', so it should work "as is" :)