<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\AdminManager\Util; use ModStart\ModStart; use ModStart\Module\ModuleManager; class ModuleUtil { public static function modules() { goto R9Gvb; Yh__A: foreach (ModuleManager::listAllEnabledModules() as $QjHVP => $NMB1l) { goto dxs9I; dxs9I: $Yee6d = ModuleManager::getModuleBasic($QjHVP); goto IiZ7p; JA4YC: $VR5xt[] = "{$QjHVP}:{$Yee6d['version']}"; goto IPBMr; IiZ7p: if (!$Yee6d) { continue; } goto JA4YC; IPBMr: } goto tsVdv; yzX4M: $VR5xt[] = 'ModStart:' . ModStart::$version; goto Yh__A; tsVdv: return $VR5xt; goto epGbH; R9Gvb: $VR5xt = array(); goto yzX4M; epGbH: } }