Favicon areas show regardless of permissions (v. 2.94 - 2.95)

In the store administration area, the favicon areas appear even if permission is denied. This will be fixed in the next release. To correct this now (instructions are shown for version 2.95):

  1. Open the images.php file in the /storeadmin/ folder.

  2. Change the code (around line 460) from:

    elseif (($set_master_key == "yes" OR $show_sitefavicon == 'Yes') AND function_exists("gd_info") AND $mode == 'favicon')

    to:

    elseif (($set_master_key == "yes" OR $show_sitefavicon == 'Yes' OR $show_adminfavicon == 'Yes') AND function_exists("gd_info") AND $mode == 'favicon')
  3. Change the code (around line 707) from:

    echo favicon_create('site');
    echo favicon_create('admin');

    to:

    if ($show_sitefavicon == 'Yes')
    echo favicon_create('site');
    if ($show_adminfavicon == 'Yes')
    echo favicon_create('admin');
  4. Change the code (around line 788) from:

    if (function_exists("gd_info") AND ($set_master_key == "yes" OR $show_sitefavicon == 'Yes'))

    to:

    if (function_exists("gd_info") AND ($set_master_key == "yes" OR $show_sitefavicon == 'Yes' OR $show_adminfavicon == 'Yes'))