#401 : Support for namespaces

This commit is contained in:
Progi1984
2016-03-22 22:40:11 +01:00
parent 04cceaae2b
commit 727ab1ef34
20 changed files with 30 additions and 30 deletions
@@ -30,7 +30,7 @@ $inputFileName = './sampleData/example_1.xls';
echo 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory to identify the format<br />';
try {
$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);
} catch(PHPExcel_Reader_Exception $e) {
} catch(\PHPExcel\Reader\Exception $e) {
die('Error loading file "'.pathinfo($inputFileName,PATHINFO_BASENAME).'": '.$e->getMessage());
}