Update ControllerBase.php and index.volt

The website can now run on directory like localhost/something
Merge pull request #200 from Sokifilou/master

Update ControllerBase.php and index.volt