From 48c263d63baff4fe021756402af19d0e8bddab1b Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Fri, 14 Sep 2012 22:38:28 +0100 Subject: [PATCH] Modifications to some /Tests scripts --- Tests/21pdf.php | 2 +- Tests/26utf8.php | 2 +- Tests/34chartupdate.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/21pdf.php b/Tests/21pdf.php index 9c13b70a..5cac43c3 100644 --- a/Tests/21pdf.php +++ b/Tests/21pdf.php @@ -48,7 +48,7 @@ $rendererName = PHPExcel_Settings::PDF_RENDERER_DOMPDF; //$rendererLibrary = 'tcPDF5.9'; //$rendererLibrary = 'mPDF5.4'; $rendererLibrary = 'domPDF0.6.0beta3'; -$rendererLibraryPath = dirname(__FILE__).'/../../../libraries/PDF/' . $rendererLibrary; +$rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary; echo date('H:i:s') , " Hide grid lines" , EOL; diff --git a/Tests/26utf8.php b/Tests/26utf8.php index b46c933b..adf7e4f1 100644 --- a/Tests/26utf8.php +++ b/Tests/26utf8.php @@ -46,7 +46,7 @@ $rendererName = PHPExcel_Settings::PDF_RENDERER_MPDF; //$rendererLibrary = 'tcPDF5.9'; $rendererLibrary = 'mPDF5.4'; //$rendererLibrary = 'domPDF0.6.0beta3'; -$rendererLibraryPath = dirname(__FILE__).'/../../../libraries/PDF/' . $rendererLibrary; +$rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary; // Read from Excel2007 (.xlsx) template diff --git a/Tests/34chartupdate.php b/Tests/34chartupdate.php index 1cf7e2d4..46c73afc 100644 --- a/Tests/34chartupdate.php +++ b/Tests/34chartupdate.php @@ -42,8 +42,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/'); /** PHPExcel */ include 'PHPExcel.php'; -if (!file_exists("33chartcreate.xlsx")) { - exit("Please run 33chartcreate.php first." . EOL); +if (!file_exists("33chartcreate-bar.xlsx")) { + exit("Please run 33chartcreate-bar.php first." . EOL); } echo date('H:i:s') , " Load from Excel2007 file" , EOL;