/** * Tell PHPExcel where to find the external library to use for rendering PDF files * * @param string $libraryBaseDir Directory path to the library's base folder * @return boolean Success or failure */ public static function setPdfRendererPath($libraryBaseDir) { if (file_exists($libraryBaseDir) === false || is_readable($libraryBaseDir) === false) { return FALSE; } self::$_pdfRendererPath = $libraryBaseDir; return TRUE; }
/** * Tell PHPExcel where to find the external library to use for rendering PDF files * * @param string $libraryBaseDir Directory path to the library's base folder * @return boolean Success or failure */ public static function setPdfRendererPath($libraryBaseDir) { self::$_pdfRendererPath = $libraryBaseDir; return TRUE; }