In disclaimer.module in the function _disclaimer_get_content() around line 109-110 we have...

          $enter = theme('image', 'files/'. variable_get('disclaimer_enter_img', 'enter.png'), $enter_alt, $enter_alt);
          $exit = theme('image', 'files/'. variable_get('disclaimer_exit_img', 'exit.png'), $exit_alt, $exit_alt);

This will not work unless your files folder is in the root directory of your drupal installation (which is against the best practice guidelines). The code should be changed to the following or not have it at all to let the user type in any URL...

          $enter = theme('image', file_directory_path().'/'. variable_get('disclaimer_enter_img', 'enter.png'), $enter_alt, $enter_alt);
          $exit = theme('image', file_directory_path().'/'. variable_get('disclaimer_exit_img', 'exit.png'), $exit_alt, $exit_alt);

Thanks
Will

Comments

mogtofu33’s picture

Assigned: Unassigned » mogtofu33
Status: Active » Fixed

Hi,

Thanks for the fix, set on 6.x-1.6 release.

Mog

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.