Skip to content

Commit

Permalink
Update Html.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyan74 authored May 25, 2019
1 parent 4e48145 commit c4b6184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/helpers/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ protected static function beforVerify($route)
return true;
}

if (Yii::$app->params['isAddon'] === false)
if (Yii::$app->params['inAddon'] === false)
{
return self::sysVerify($route[0]);
}
Expand Down Expand Up @@ -264,4 +264,4 @@ protected static function addonVerify($route)
$route = Url::regroupRoute($route);
return Auth::verify($route);
}
}
}

0 comments on commit c4b6184

Please sign in to comment.