Yii2 adminlte

how do I set the menu highlight?

Mar.04,2021

protected function isItemActive($item)
{
    if (isset($item['url']) && is_array($item['url']) && isset($item['url'][0])) {
        $route = $item['url'][0];
        if ($route[0] !== '/' && Yii::$app->controller) {
            $route = ltrim(Yii::$app->controller->module->getUniqueId() . '/' . $route, '/');
        }
        $route = ltrim($route, '/');
        if ($route != $this->route && $route !== $this->noDefaultRoute && $route !== $this->noDefaultAction) {
            return false;
        }
        unset($item['url']['-sharp']);
        if (count($item['url']) > 1) {
            foreach (array_splice($item['url'], 1) as $name => $value) {
                if ($value !== null && (!isset($this->params[$name]) || $this->params[$name] != $value)) {
                    return false;
                }
            }
        }
        return true;
    }
    return false;
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be6d57-30574.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be6d57-30574.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?