From 1694960cd5f6300c99b0b8b93ae93e9789c3df86 Mon Sep 17 00:00:00 2001 From: yokota Date: Wed, 9 Jul 2014 10:53:03 +0900 Subject: [PATCH] Fixed failed include PHPExcel.php --- Examples/34chartupdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/34chartupdate.php b/Examples/34chartupdate.php index 84f8a922..cb586a31 100644 --- a/Examples/34chartupdate.php +++ b/Examples/34chartupdate.php @@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); */ /** PHPExcel */ -include '../Classes/PHPExcel.php'; +require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; if (!file_exists("33chartcreate-bar.xlsx")) { exit("Please run 33chartcreate-bar.php first." . EOL);