Use $base_url in a computed field?
This is a global scope variable and you can access it by using $GLOBALS['base_url'] instead or calling the core base_path() function to pull it into your computed field definition.