north 7 years ago
parent
commit
eeb8c5d1c4
1 changed files with 1 additions and 2 deletions
  1. 1 2
      www/protected/modules/moonclub/controllers/POrderController.php

+ 1 - 2
www/protected/modules/moonclub/controllers/POrderController.php

@@ -299,8 +299,7 @@ class POrderController extends AdminController
 
     public function actionImportExcel()
     {
-        Yii::$enableIncludePath = false;
-        Yii::import('application.extensions.PHPExcel.PHPExcel', 1);
+
         $back = Yii::app()->request->urlReferrer;
         $url = Yii::app()->request->getParam('url','');
         $res=Service::factory('ImportExcelService')->push($url);