X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fcarnet%2Fcontacts.pdf.inc.php;h=35298355457368beb9331d68c991202a47dae4ef;hb=b832310a25b7aa571df09bafae3c2dc90808c8cd;hp=7eaea1728eef4efee0cc8bcc654453d2de3b7d7e;hpb=1dea1b6c08a19b57285c1416b75deedfbc3ee1ef;p=platal.git diff --git a/modules/carnet/contacts.pdf.inc.php b/modules/carnet/contacts.pdf.inc.php index 7eaea17..3529835 100644 --- a/modules/carnet/contacts.pdf.inc.php +++ b/modules/carnet/contacts.pdf.inc.php @@ -21,7 +21,7 @@ define ('FPDF_FONTPATH', dirname(__FILE__).'/fonts/'); require_once '/usr/share/fpdf/fpdf.php'; -require_once dirname(__FILE__).'/../classes/VarStream.php'; +require_once dirname(__FILE__).'/../../classes/VarStream.php'; class ContactsPDF extends FPDF { @@ -94,7 +94,7 @@ class ContactsPDF extends FPDF $this->SetLineWidth(0.2); $this->SetFillColor(245, 248, 252); $this->Cell(200, 10, $this->title, 1, 1, 'C', 1); - $this->Image(dirname(dirname(__FILE__)).'/htdocs/images/logo.png', 5, 5, 10, 10, 'png', 'https://www.polytechnique.org/'); + $this->Image(dirname(__FILE__).'/../../htdocs/images/logo.png', 5, 5, 10, 10, 'png', 'https://www.polytechnique.org/'); $this->Ln(10); $this->y0 = $this->GetY();