forked from Wavyzz/dolibarr
Merge pull request #1858 from ndrosis/patch-4
Can change size of Logo picture
This commit is contained in:
@@ -269,7 +269,9 @@ function pdf_getPDFFontSize($outputlangs)
|
||||
*/
|
||||
function pdf_getHeightForLogo($logo, $url = false)
|
||||
{
|
||||
$height=22; $maxwidth=130;
|
||||
global $conf;
|
||||
$height=(empty($conf->global->MAIN_DOCUMENTS_LOGO_HEIGHT)?22:$conf->global->MAIN_DOCUMENTS_LOGO_HEIGHT);
|
||||
$maxwidth=130;
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
|
||||
$tmp=dol_getImageSize($logo, $url);
|
||||
if ($tmp['height'])
|
||||
|
||||
Reference in New Issue
Block a user