path fixes
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 31 Jul 2006 20:20:44 +0000 (20:20 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 31 Jul 2006 20:20:44 +0000 (20:20 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@763 839d8a87-29fc-0310-9880-83ba4fa771e5

23 files changed:
modules/carnet.php
modules/carnet/contacts.pdf.inc.php
modules/carnet/fonts/README [moved from include/fonts/README with 100% similarity]
modules/carnet/fonts/Vera.php [moved from include/fonts/Vera.php with 100% similarity]
modules/carnet/fonts/Vera.z [moved from include/fonts/Vera.z with 100% similarity]
modules/carnet/fonts/VeraBI.php [moved from include/fonts/VeraBI.php with 100% similarity]
modules/carnet/fonts/VeraBI.z [moved from include/fonts/VeraBI.z with 100% similarity]
modules/carnet/fonts/VeraBd.php [moved from include/fonts/VeraBd.php with 100% similarity]
modules/carnet/fonts/VeraBd.z [moved from include/fonts/VeraBd.z with 100% similarity]
modules/carnet/fonts/VeraIt.php [moved from include/fonts/VeraIt.php with 100% similarity]
modules/carnet/fonts/VeraIt.z [moved from include/fonts/VeraIt.z with 100% similarity]
modules/carnet/fonts/VeraMoBI.php [moved from include/fonts/VeraMoBI.php with 100% similarity]
modules/carnet/fonts/VeraMoBI.z [moved from include/fonts/VeraMoBI.z with 100% similarity]
modules/carnet/fonts/VeraMoBd.php [moved from include/fonts/VeraMoBd.php with 100% similarity]
modules/carnet/fonts/VeraMoBd.z [moved from include/fonts/VeraMoBd.z with 100% similarity]
modules/carnet/fonts/VeraMoIt.php [moved from include/fonts/VeraMoIt.php with 100% similarity]
modules/carnet/fonts/VeraMoIt.z [moved from include/fonts/VeraMoIt.z with 100% similarity]
modules/carnet/fonts/VeraMono.php [moved from include/fonts/VeraMono.php with 100% similarity]
modules/carnet/fonts/VeraMono.z [moved from include/fonts/VeraMono.z with 100% similarity]
modules/carnet/fonts/VeraSe.php [moved from include/fonts/VeraSe.php with 100% similarity]
modules/carnet/fonts/VeraSe.z [moved from include/fonts/VeraSe.z with 100% similarity]
modules/carnet/fonts/VeraSeBd.php [moved from include/fonts/VeraSeBd.php with 100% similarity]
modules/carnet/fonts/VeraSeBd.z [moved from include/fonts/VeraSeBd.z with 100% similarity]

index e8ead00..fc9710f 100644 (file)
@@ -295,7 +295,7 @@ class CarnetModule extends PLModule
 
     function handler_pdf(&$page, $arg0 = null, $arg1 = null)
     {
-        require_once dirname(__FILE__).'/contacts/contacts.pdf.inc.php';
+        require_once dirname(__FILE__).'/carnet/contacts.pdf.inc.php';
         require_once 'user.func.inc.php';
 
         session_write_close();
index 7eaea17..3529835 100644 (file)
@@ -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();