Undefined variable - base_url in include() in Drupal 7 html.tpl.php
You will need to bring the variable $base_url and $base_path into the global scope. At the top of your function or template file add:

global $base_path, $base_url;


or call base_path()