Modifications to some /Tests scripts
This commit is contained in:
parent
bbd0b82351
commit
48c263d63b
@ -48,7 +48,7 @@ $rendererName = PHPExcel_Settings::PDF_RENDERER_DOMPDF;
|
|||||||
//$rendererLibrary = 'tcPDF5.9';
|
//$rendererLibrary = 'tcPDF5.9';
|
||||||
//$rendererLibrary = 'mPDF5.4';
|
//$rendererLibrary = 'mPDF5.4';
|
||||||
$rendererLibrary = 'domPDF0.6.0beta3';
|
$rendererLibrary = 'domPDF0.6.0beta3';
|
||||||
$rendererLibraryPath = dirname(__FILE__).'/../../../libraries/PDF/' . $rendererLibrary;
|
$rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary;
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Hide grid lines" , EOL;
|
echo date('H:i:s') , " Hide grid lines" , EOL;
|
||||||
|
@ -46,7 +46,7 @@ $rendererName = PHPExcel_Settings::PDF_RENDERER_MPDF;
|
|||||||
//$rendererLibrary = 'tcPDF5.9';
|
//$rendererLibrary = 'tcPDF5.9';
|
||||||
$rendererLibrary = 'mPDF5.4';
|
$rendererLibrary = 'mPDF5.4';
|
||||||
//$rendererLibrary = 'domPDF0.6.0beta3';
|
//$rendererLibrary = 'domPDF0.6.0beta3';
|
||||||
$rendererLibraryPath = dirname(__FILE__).'/../../../libraries/PDF/' . $rendererLibrary;
|
$rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary;
|
||||||
|
|
||||||
|
|
||||||
// Read from Excel2007 (.xlsx) template
|
// Read from Excel2007 (.xlsx) template
|
||||||
|
@ -42,8 +42,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
|||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
include 'PHPExcel.php';
|
include 'PHPExcel.php';
|
||||||
|
|
||||||
if (!file_exists("33chartcreate.xlsx")) {
|
if (!file_exists("33chartcreate-bar.xlsx")) {
|
||||||
exit("Please run 33chartcreate.php first." . EOL);
|
exit("Please run 33chartcreate-bar.php first." . EOL);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from Excel2007 file" , EOL;
|
echo date('H:i:s') , " Load from Excel2007 file" , EOL;
|
||||||
|
Loading…
Reference in New Issue
Block a user