Skip to content

Commit

Permalink
Fix custom logo file path - Refs BT#11486
Browse files Browse the repository at this point in the history
  • Loading branch information
jloguercio committed Aug 8, 2016
1 parent 6d75b7b commit f255d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/pdf.lib.php
Expand Up @@ -95,7 +95,7 @@ public function html_to_pdf_with_template($content, $saveToFile = false, $return

$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)) {
Expand Down

0 comments on commit f255d81

Please sign in to comment.