Files
register/marko_unpacked/marko/cms/controllers/MediaController.php
T
Admin Nasledstvo ac168868ee Initial import
2026-05-01 20:52:04 +03:00

28 lines
466 B
PHP

<?php
namespace app\controllers;
use app\services\Auth;
use yii\web\Controller;
class MediaController extends BaseController
{
public function beforeAction($action)
{
return parent::beforeAction($action);
}
public function actionPlay($id)
{
return $this->renderPartial('play', ['id' => $id]);
}
public function actionPlayMobile($id)
{
return $this->renderPartial('play_mobile', ['id' => $id]);
}
}