diff --git a/php-excel-reader/excel_reader2.php b/php-excel-reader/excel_reader2.php index 75351b7..2e0709b 100644 --- a/php-excel-reader/excel_reader2.php +++ b/php-excel-reader/excel_reader2.php @@ -94,7 +94,7 @@ function v($data,$pos) { class OLERead { var $data = ''; - function OLERead(){ } + function __construct(){ } function read($sFileName){ // check if file exist and is readable (Darko Miljanovic) @@ -912,7 +912,7 @@ function _format_value($format,$num,$f) { * * Some basic initialisation */ - function Spreadsheet_Excel_Reader($file='',$store_extended_info=true,$outputEncoding='') { + function __construct($file='',$store_extended_info=true,$outputEncoding='') { $this->_ole = new OLERead(); $this->setUTFEncoder('iconv'); if ($outputEncoding != '') { @@ -1733,5 +1733,3 @@ function _GetInt4d($data, $pos) { } } - -?> \ No newline at end of file