Commit f15315c5 authored by xiabin's avatar xiabin

修改播放事件

parent 059eefb1
...@@ -91,6 +91,7 @@ class SiteController extends Controller ...@@ -91,6 +91,7 @@ class SiteController extends Controller
public function actionError() public function actionError()
{ {
$exception = Yii::$app->errorHandler->exception; $exception = Yii::$app->errorHandler->exception;
$this->layout = FALSE;
if($exception->statusCode == '404' ){ if($exception->statusCode == '404' ){
$name = Yii::$app->errorHandler->getExceptionName($exception); $name = Yii::$app->errorHandler->getExceptionName($exception);
$message = $exception->getMessage(); $message = $exception->getMessage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment