Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop
This commit is contained in:
		
						commit
						b8f783e5a3
					
				| @ -1,7 +1,5 @@ | ||||
| <?xml version="1.0"?> | ||||
| <project name="PHPExcel" default="release-standard" basedir="."> | ||||
|     <taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2"/> | ||||
| 
 | ||||
|     <target name="gather"> | ||||
|         <if> | ||||
| 			<isset property="${packageVersion}"/> | ||||
| @ -152,6 +150,8 @@ | ||||
|     </target> | ||||
| 
 | ||||
|     <target name="release-pear" depends="versionNumber"> | ||||
|         <taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2"/> | ||||
| 
 | ||||
|         <mkdir dir="${phing.dir}/release"/> | ||||
| 
 | ||||
|         <echo msg="Creating PEAR release package (v${packageVersion})..."/> | ||||
|  | ||||
| @ -35,7 +35,7 @@ if (PHP_SAPI == 'cli') | ||||
| 	die('This example should only be run from a Web Browser'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| //	Change these values to select the Rendering library that you wish to use
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ if (PHP_SAPI == 'cli') | ||||
| 	die('This example should only be run from a Web Browser'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ if (PHP_SAPI == 'cli') | ||||
| 	die('This example should only be run from a Web Browser'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
| include "05featuredemo.inc.php"; | ||||
| 
 | ||||
| /** Include PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Save Excel 2007 file
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| $cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite; | ||||
| PHPExcel_Settings::setCacheStorageMethod($cacheMethod); | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| $cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite3; | ||||
| PHPExcel_Settings::setCacheStorageMethod($cacheMethod); | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| $cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_in_memory_gzip; | ||||
| if (!PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) { | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| /* | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| /* | ||||
|  | ||||
| @ -34,7 +34,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| if (!file_exists("05featuredemo.xlsx")) { | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
| echo date('H:i:s').' Create new PHPExcel object'.EOL; | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // List functions
 | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
| include "05featuredemo.inc.php"; | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Save Excel 95 file
 | ||||
|  | ||||
| @ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -38,7 +38,7 @@ date_default_timezone_set('Europe/London'); | ||||
| include "05featuredemo.inc.php"; | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| echo date('H:i:s') , " Write to CSV format" , EOL; | ||||
|  | ||||
| @ -38,7 +38,7 @@ date_default_timezone_set('Europe/London'); | ||||
| include "05featuredemo.inc.php"; | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| echo date('H:i:s') , " Write to HTML format" , EOL; | ||||
|  | ||||
| @ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // List functions
 | ||||
|  | ||||
| @ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| if (!file_exists("14excel5.xls")) { | ||||
|  | ||||
| @ -38,7 +38,7 @@ date_default_timezone_set('Europe/London'); | ||||
| include "05featuredemo.inc.php"; | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| //	Change these values to select the Rendering library that you wish to use
 | ||||
|  | ||||
| @ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Check prerequisites
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| //	Change these values to select the PDF Rendering library that you wish to use
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Read from Excel5 (.xls) template
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| if (!file_exists("05featuredemo.xlsx")) { | ||||
|  | ||||
| @ -33,7 +33,7 @@ ini_set('display_startup_errors', TRUE); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Set timezone
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $inputFileType = 'Excel5'; | ||||
|  | ||||
| @ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $inputFileType = 'Excel2007'; | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** Include path **/ | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/'); | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| include 'PHPExcel/IOFactory.php'; | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** Include path **/ | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/'); | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| include 'PHPExcel/IOFactory.php'; | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** Include path **/ | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/'); | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| include 'PHPExcel/IOFactory.php'; | ||||
|  | ||||
| @ -37,7 +37,7 @@ date_default_timezone_set('Europe/London'); | ||||
|  */ | ||||
| 
 | ||||
| /** Include path **/ | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/'); | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| include 'PHPExcel/IOFactory.php'; | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -34,7 +34,7 @@ date_default_timezone_set('Europe/London'); | ||||
| define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| 
 | ||||
| // Create new PHPExcel object
 | ||||
|  | ||||
| @ -10,7 +10,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />'); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** Include PHPExcel */ | ||||
| require_once '../Classes/PHPExcel.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel.php'; | ||||
| 
 | ||||
| echo date('H:i:s') , " Create new PHPExcel object" , EOL; | ||||
| $objPHPExcel = new PHPExcel(); | ||||
|  | ||||
| @ -31,7 +31,7 @@ error_reporting(E_ALL); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| echo date('H:i:s') , " Load from Excel2003XML file" , PHP_EOL; | ||||
|  | ||||
| @ -31,7 +31,7 @@ error_reporting(E_ALL); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| echo date('H:i:s') , " Load from Gnumeric file" , PHP_EOL; | ||||
| $callStartTime = microtime(true); | ||||
|  | ||||
| @ -31,7 +31,7 @@ error_reporting(E_ALL); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| echo date('H:i:s') , " Load from OOCalc file" , PHP_EOL; | ||||
| $callStartTime = microtime(true); | ||||
|  | ||||
| @ -9,7 +9,7 @@ | ||||
| error_reporting(E_ALL); | ||||
| 
 | ||||
| /**	Include path		**/ | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/'); | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/'); | ||||
| 
 | ||||
| ?>
 | ||||
| <h1>Quadratic Equation Solver</h1> | ||||
|  | ||||
| @ -9,7 +9,7 @@ | ||||
| error_reporting(E_ALL); | ||||
| 
 | ||||
| /**	Include path		**/ | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/'); | ||||
| set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/'); | ||||
| 
 | ||||
| ?>
 | ||||
| <h1>Quadratic Equation Solver</h1> | ||||
|  | ||||
| @ -31,7 +31,7 @@ error_reporting(E_ALL); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| echo date('H:i:s') , " Load from SYLK file" , PHP_EOL; | ||||
|  | ||||
| @ -31,7 +31,7 @@ error_reporting(E_ALL); | ||||
| date_default_timezone_set('Europe/London'); | ||||
| 
 | ||||
| /** PHPExcel_IOFactory */ | ||||
| require_once '../Classes/PHPExcel/IOFactory.php'; | ||||
| require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php'; | ||||
| 
 | ||||
| 
 | ||||
| echo date('H:i:s') , " Load from XML file" , PHP_EOL; | ||||
|  | ||||
| @ -30,6 +30,7 @@ defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'ci'); | ||||
| set_include_path(implode(PATH_SEPARATOR, array( | ||||
| 	realpath(APPLICATION_PATH . '/../Classes'), | ||||
| 	'./', | ||||
| 	dirname(__FILE__), | ||||
| 	get_include_path(), | ||||
| ))); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mark Baker
						Mark Baker