moved some bootstrap code to config.php from web/index.php