Доработка [issue #1]
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
namespace app\controllers;
|
||||
|
||||
use \Yii;
|
||||
use \app\models\Dump;
|
||||
use Yii;
|
||||
use app\Dumper;
|
||||
|
||||
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);
|
||||
(new Dumper)->download($link, $depth, $buffer, $force, $searchExternal, $path);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user