Blob Blame History Raw
--- lib/pdflib.php.orig	2013-05-14 04:27:22.000000000 -0500
+++ lib/pdflib.php	2013-05-20 11:16:24.852733525 -0500
@@ -58,10 +58,10 @@
 // The configuration constants needed by tcpdf follow
 
 /** tcpdf installation path */
-define('K_PATH_MAIN', $CFG->dirroot.'/lib/tcpdf/');
+define('K_PATH_MAIN', '/usr/share/php/tcpdf/');
 
 /** URL path to tcpdf installation folder */
-define('K_PATH_URL', $CFG->wwwroot . '/lib/tcpdf/');
+define('K_PATH_URL', '/usr/share/php/tcpdf/');
 
 /** path for PDF fonts */
 define('K_PATH_FONTS', K_PATH_MAIN . 'fonts/');
--- lib/pdflib.php~	2014-03-19 07:39:53.000000000 -0500
+++ lib/pdflib.php	2014-03-19 07:41:24.198561304 -0500
@@ -84,7 +84,7 @@
 /** Throw exceptions from errors so they can be caught and recovered from. */
 define('K_TCPDF_THROW_EXCEPTION_ERROR', true);
 
-require_once(dirname(__FILE__).'/tcpdf/tcpdf.php');
+require_once('/usr/share/php/tcpdf/tcpdf.php');
 
 /**
  * Wrapper class that extends TCPDF (lib/tcpdf/tcpdf.php).