fix url logo plataform

pull/2487/head
Alex Aragon 7 years ago
parent a3f01be95e
commit a4c18941bb
  1. 3
      app/Resources/public/css/scorm.css
  2. 4
      src/Chamilo/CoreBundle/Component/Utils/ChamiloApi.php

@ -40,7 +40,8 @@ See https://support.chamilo.org/issues/6976
padding-bottom: 5px;
}
#learning_path_left_zone .description-autor{
text-align: center;
padding-top: 10px;
}
.inner_lp_toc .scorm_item a {
font-weight: bold;

@ -72,13 +72,13 @@ class ChamiloApi
$theme = empty($theme) ? api_get_visual_theme() : $theme;
$accessUrlId = api_get_current_access_url_id();
$themeDir = \Template::getThemeDir($theme);
$customLogoPath = $themeDir."/images/header-logo-custom$accessUrlId.png";
$customLogoPath = $themeDir."images/header-logo-custom$accessUrlId.png";
if (file_exists(api_get_path(SYS_PUBLIC_PATH)."css/$customLogoPath")) {
return api_get_path(WEB_CSS_PATH).$customLogoPath;
}
$originalLogoPath = $themeDir."/images/header-logo.png";
$originalLogoPath = $themeDir."images/header-logo.png";
if (file_exists(api_get_path(SYS_CSS_PATH).$originalLogoPath)) {
return api_get_path(WEB_CSS_PATH).$originalLogoPath;

Loading…
Cancel
Save