if (!empty($cfg['workbook'])) {
+ print_r('run');exit;
$this->buildPage( array(), $data,$cfg);
} elseif (!empty($cfg['workbooks'])) {
foreach($cfg['workbooks'] as $i =>$wcfg) {
$this->worksheet = $worksheet;
$start_row = 0;
- print_r($cfg);exit;
+
if (!empty($cfg['head'])) {
foreach($cfg['head'] as $row) {
foreach($row as $c => $col) {