Ignore:
Timestamp:
Apr 26, 2011, 10:52:16 PM (10 years ago)
Author:
ddtddt
Message:

[extensions] - PersoFavicon - remove /local/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PersoFavicon/main.inc.php

    r7767 r10632  
    4242        if (!empty($favicon_name))
    4343                {
    44   $replacement = '<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}local/'.$favicon_name.'.ico">';
     44  $replacement = '<link rel="shortcut icon" type="image/x-icon" href="'.PHPWG_ROOT_PATH.PWG_LOCAL_DIR.$favicon_name.'.ico">';
    4545                }
    4646        else
    4747                {
    48   $replacement = '<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}local/favicon.ico">';
     48  $replacement = '<link rel="shortcut icon" type="image/x-icon" href="'.PHPWG_ROOT_PATH.PWG_LOCAL_DIR.'favicon.ico">';
    4949                }
    5050  return preg_replace($search, $replacement, $content);
    5151 }
    52 
     52 
    5353?>
Note: See TracChangeset for help on using the changeset viewer.