Changeset 10632 for extensions/PersoFavicon/main.inc.php
- Timestamp:
- Apr 26, 2011, 10:52:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PersoFavicon/main.inc.php
r7767 r10632 42 42 if (!empty($favicon_name)) 43 43 { 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">'; 45 45 } 46 46 else 47 47 { 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">'; 49 49 } 50 50 return preg_replace($search, $replacement, $content); 51 51 } 52 52 53 53 ?>
Note: See TracChangeset
for help on using the changeset viewer.