<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\AdminManager\Widget; use Illuminate\Support\Str; use ModStart\Widget\AbstractWidget; use Module\AdminManager\Util\ModuleUtil; class ServerInfoWidget extends AbstractWidget { protected $view = 'module::AdminManager.View.widget.serverInfo'; protected function variables() { goto wgoV2; wgoV2: $eNrRT = get_loaded_extensions(); goto DDV7K; DDV7K: $QUNWy = json_encode(array('modules' => ModuleUtil::modules())); goto McVBC; tpyVK: return array('modules' => $QUNWy, 'attributes' => $this->formatAttributes(), 'phpExtensions' => $eNrRT); goto d4KFR; McVBC: if (function_exists('gzdeflate')) { $QUNWy = 'V_Z_' . base64_encode(gzdeflate($QUNWy)); } else { $QUNWy = 'V_' . base64_encode($QUNWy); } goto tpyVK; d4KFR: } }