diff --git a/blockify.theme.inc b/blockify.theme.inc
index 6fbb150..deb93a1 100644
--- a/blockify.theme.inc
+++ b/blockify.theme.inc
@@ -12,8 +12,9 @@
 function theme_blockify_logo($variables) {
   $site_name = filter_xss_admin(variable_get('site_name', 'Drupal'));
 
-  // Strip the base_path from the beginning of the logo path.
-  $path = preg_replace('|^' . base_path() . '|', '', $variables['logo_path']);
+  // Strip the base_url from the beginning of the logo path.
+  global $base_url;
+  $path = preg_replace('|^' . $base_url . '|', '', $variables['logo_path']);
 
   $image = array(
     '#theme' => 'image',
