|
@@ -45,6 +45,7 @@ class Subscribe extends Base
|
|
|
}
|
|
|
$file_name = explode('/',$url);
|
|
|
$import_path = $_SERVER['DOCUMENT_ROOT'].'/upload/excel/'.$file_name;
|
|
|
+ echo $import_path;exit();
|
|
|
$objReader =\PHPExcel_IOFactory::createReader('Excel2007');
|
|
|
$objExcel = $objReader->load($import_path);
|
|
|
$list = $objExcel->getActiveSheet()->toArray();
|