X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=import.php;h=78630866ba306b11012e2d5ab188d5b46c517a90;hb=509d1d70d0580e26a4467e123c06d2c8939f32cc;hp=235924ac4803137a9a21c1360dbb4206017e882a;hpb=bea65bba9873151a4d31f944d90d9b93c72727b0;p=timetracker.git diff --git a/import.php b/import.php index 235924ac..78630866 100644 --- a/import.php +++ b/import.php @@ -43,11 +43,11 @@ $form->addInput(array('type'=>'upload','name'=>'xmlfile','value'=>'browse','maxs $form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->get('button.import'))); if ($request->isPost()) { - if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { +// if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { $import = new ttOrgImportHelper($err); - } else { - $import = new ttImportHelper($err); - } +// } else { +// $import = new ttImportHelper($err); +// } $import->importXml(); if ($err->no()) $msg->add($i18n->get('form.import.success')); } // isPost