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