Перенос в микроприложение

This commit is contained in:
RedHood
2020-09-16 03:14:44 +10:00
commit dc5b301adf
9 changed files with 1586 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace app\controllers;
use \Yii;
use \app\models\Dump;
class DumpController extends \yii\console\Controller
{
public function actionIndex($link, $depth = 0, $buffer = 0, $force = false, $searchExternal = false, $path = '')
{
(new Dump)->download($link, $depth, $buffer, $force, $searchExternal, $path);
return 0;
}
}