Browse Source

Merge pull request #1346 from jloguercio/1.10.x

Fix custom logo file path - Refs BT#11486
José Loguercio 8 years ago
parent
commit
e09d3602d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/pdf.lib.php

+ 1 - 1
main/inc/lib/pdf.lib.php

@@ -95,7 +95,7 @@ class PDF
 
         $organization = api_get_setting('Institution');
         $img = api_get_path(SYS_CSS_PATH).'themes/' . $theme . '/images/header-logo.png';
-        $customImg = api_get_path(WEB_CSS_PATH).'themes/' . $theme . '/images/header-logo-custom.png';
+        $customImg = api_get_path(SYS_PUBLIC_PATH).'css/themes/' . $theme . '/images/header-logo-custom.png';
 
         // Search for classic logo
         if (file_exists($customImg)) {