Update ControllerBase.php and index.volt

The website can now run on directory like localhost/something