From 38c73d59156f11a89000a6caa90d7a5767bb7244 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 10 Mar 2009 10:00:44 +0000 Subject: [PATCH] Correction chemin logo pour pdf --- www/pages/identite.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/www/pages/identite.php b/www/pages/identite.php index 1d4eede01..534807488 100644 --- a/www/pages/identite.php +++ b/www/pages/identite.php @@ -83,7 +83,7 @@ if ( $cache->startCapture($fileName.'.html') == FALSE){ } else { echo substr($etab['TvaNumero'],0,2).' '.substr($etab['TvaNumero'],2,2).' '.substr($etab['TvaNumero'],-9); if (!$etab['TvaAttribue']) - echo ' '; + echo ' '; } ?> startCapture($fileName.'.html') == FALSE){ $siteWeb=''; $locImg=PATH_LOGOS.$etab['Siren']; - if (file_exists($locImg.'.gif')) { $urlImg='/img/logos/'.$etab['Siren'].'.gif'; $ext='.gif'; } - elseif (file_exists($locImg.'.png')) { $urlImg='/img/logos/'.$etab['Siren'].'.png'; $ext='.png'; } - elseif (file_exists($locImg.'.jpg')) { $urlImg='/img/logos/'.$etab['Siren'].'.jpg'; $ext='.jpg'; } - elseif (file_exists($locImg.'.jpeg')) { $urlImg='/img/logos/'.$etab['Siren'].'.jpeg'; $ext='.jpeg'; } + if (file_exists($locImg.'.gif')) { $urlImg='./img/logos/'.$etab['Siren'].'.gif'; $ext='.gif'; } + elseif (file_exists($locImg.'.png')) { $urlImg='./img/logos/'.$etab['Siren'].'.png'; $ext='.png'; } + elseif (file_exists($locImg.'.jpg')) { $urlImg='./img/logos/'.$etab['Siren'].'.jpg'; $ext='.jpg'; } + elseif (file_exists($locImg.'.jpeg')) { $urlImg='./img/logos/'.$etab['Siren'].'.jpeg'; $ext='.jpeg'; } if ($urlImg=='' && $etab['Isin']<>'') { $locImg=PATH_LOGOS.$etab['Isin']; - if (file_exists($locImg.'.gif')) { $urlImg='/img/logos/'.$etab['Isin'].'.gif'; $ext='.gif'; } - elseif (file_exists($locImg.'.png')) { $urlImg='/img/logos/'.$etab['Isin'].'.png'; $ext='.png'; } - elseif (file_exists($locImg.'.jpg')) { $urlImg='/img/logos/'.$etab['Isin'].'.jpg'; $ext='.jpg'; } - elseif (file_exists($locImg.'.jpeg')) { $urlImg='/img/logos/'.$etab['Isin'].'.jpeg'; $ext='.jpeg'; } + if (file_exists($locImg.'.gif')) { $urlImg='./img/logos/'.$etab['Isin'].'.gif'; $ext='.gif'; } + elseif (file_exists($locImg.'.png')) { $urlImg='./img/logos/'.$etab['Isin'].'.png'; $ext='.png'; } + elseif (file_exists($locImg.'.jpg')) { $urlImg='./img/logos/'.$etab['Isin'].'.jpg'; $ext='.jpg'; } + elseif (file_exists($locImg.'.jpeg')) { $urlImg='./img/logos/'.$etab['Isin'].'.jpeg'; $ext='.jpeg'; } } if (trim($etab['Web'])<>'') {