diff --git a/Examples/34chartupdate.php b/Examples/34chartupdate.php index 84f8a92..cb586a3 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);