Commit 55cc05aa7eff3f5cd2aa42e3361d53418243ce6a
1 parent
35764921
try organize ini settings
Showing
2 changed files
with
12 additions
and
2 deletions
Show diff stats
backend/components/parsers/config.php
backend/controllers/ParserController.php
| ... | ... | @@ -68,13 +68,19 @@ class ParserController extends BaseController |
| 68 | 68 | $model = new UploadFileParsingForm(); |
| 69 | 69 | // установим режим, 0 - ручная загрузка, 1 - автозагрузка |
| 70 | 70 | $model->mode = $mode; |
| 71 | - | |
| 71 | + //CustomVarDamp::dumpAndDie(phpinfo()); | |
| 72 | 72 | return $this->render('index', ['model' => $model]); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | +// public function beforeAction($action) | |
| 76 | +// { | |
| 77 | +// if($action->actionMethod ='actionResults'){ | |
| 78 | +// CustomVarDamp::dumpAndDie(phpinfo()); | |
| 79 | +// } | |
| 80 | +// } | |
| 81 | + | |
| 75 | 82 | public function actionResults($mode = 0) |
| 76 | 83 | { |
| 77 | - | |
| 78 | 84 | $model = new UploadFileParsingForm(['mode' => $mode]); |
| 79 | 85 | $data = []; |
| 80 | 86 | if ($model->load(Yii::$app->request->post())) { | ... | ... |