<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Config; class AdminMenu { private static $menu = array(); public static function register($KCTGH) { self::$menu[] = $KCTGH; } public static function get() { goto CB96f; mc8EO: foreach (self::$menu as $El_MH) { if ($El_MH instanceof \Closure) { $El_MH = call_user_func($El_MH); } if (isset($El_MH['title'])) { $KCTGH = array_merge($KCTGH, array($El_MH)); } else { $KCTGH = array_merge($KCTGH, $El_MH); } } goto ESse2; CB96f: $KCTGH = array(); goto mc8EO; ESse2: return $KCTGH; goto bmlf2; bmlf2: } }