Get current's theme logo

Drupal 8

$path = '/' . \Drupal::config('MYTHEME.settings')->get('logo.path');

Drupal 7

global $theme;
$path = theme_get_setting('logo', $theme);
********************************** ************************* ************************ **************** ****************** *********** ************** ************* ************ *************