Get current's theme logo Drupal7

Last updated on 14/09/2016
function _get_current_theme_logo() {
  global $theme;
  if ($path = theme_get_setting('logo', $theme)) {
    return '<img src="' . $path . '"/>';
  }
}