diff --git a/main/inc/header.inc.php b/main/inc/header.inc.php index f2dea57cdb..e5e980caed 100755 --- a/main/inc/header.inc.php +++ b/main/inc/header.inc.php @@ -120,7 +120,6 @@ if ($navigator_info['name']=='Internet Explorer' && $navigator_info['version']= - @@ -161,6 +160,7 @@ if (isset($htmlIncHeadXtra) && $htmlIncHeadXtra) { // The following include might be subject to a setting proper to the course or platform. include api_get_path(LIBRARY_PATH).'javascript/email_links.lib.js.php'; +$favico = ''; if ($_configuration['multiple_access_urls']) { $access_url_id = api_get_current_access_url_id(); if ($access_url_id != -1) { @@ -171,11 +171,12 @@ if ($_configuration['multiple_access_urls']) { $clean_url .= '/'; $homep = api_get_path(REL_PATH).'home/'.$clean_url; //homep for Home Path //we create the new dir for the new sites - if (!is_file($homep.'favicon.ico')) { - echo ''; + if (is_file($homep.'favicon.ico')) { + $favico = ''; } } } +echo $favico; ?>