Closed (fixed)
Project:
Mapstraction
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
11 Jun 2009 at 22:26 UTC
Updated:
25 Mar 2017 at 20:41 UTC
Jump to comment: Most recent
Comments
Comment #1
dixon_We don't need
base_path()in front ofdrupal_get_path(). Drupal should take care of that I think.Comment #2
Anonymous (not verified) commentedNope.
see http://api.drupal.org/api/function/drupal_get_path
see http://api.drupal.org/api/function/drupal_get_js
Usually we aren't inserting a URl into a src tag. Instead we're using drupal_add_js (where drupal_get_js does call base_path) or we're using l() or url() which also solve the problem for us.
Comment #3
Anonymous (not verified) commentedComment #4
febbraro commentedThis worked great for me. Thanks @bangpound.
Comment #5
robsteranium commentedCan confirm this works for us. Thanks @bangpound.
Comment #6
j0k3z commentedThis didnt work for me, any idea what else it might be?
Comment #7
levelos commented