I just installed wwwizard (it's great!) and found that the "wizard" image was not displaying in the footer. The code in
sites/all/modules/wwwizard_modules/modules/wwwizard_display/wwwizard_display.module
was this
$img_src = base_path() . '/' . drupal_get_path('module', 'wwwizard_display') . '/poweredby.png';

In my case, base_path must be '/', because the image url was being written as "//sites/..."

I made this change and it seemed to fix things:
else if ($op == 'view') {
switch($delta) {
case 'poweredby':
$img_src = base_path() . (base_path()=='/' ? '' : '') . drupal_get_path('module', 'wwwizard_display') . '/poweredby.png';

Comments

shaisachs’s picture

Status: Active » Closed (fixed)

Thanks! Unfortunately, I overlooked this just before the commit. I believe the correct code is

base_path() . drupal_get_path('module', 'wwwizard_display') . '/poweredby.png'

... which covers both root directory and subdirectory cases, it was just a goof on my part. It'll be fixed in the next release.