canyin-project/ybcy/controllers/index/CeshiController.php
2024-11-01 16:07:54 +08:00

17 lines
482 B
PHP

<?php
namespace app\controllers\index;
use Yii;
use yii\web\Controller;
class CeshiController extends Controller{
public $enableCsrfValidation = false;
public function actionIndex(){
return $this->renderpartial('index');
}
public function actionCeshi(){
$paths=['./config/functions.php','./common/params.php','./controllers/admin','./controllers/channel','./models/common'];
$filename='test.zip';
dirToZip($paths,$filename);
}
}