<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Util; use ModStart\Core\Assets\AssetsUtil; use ModStart\Core\Input\Request; use ModStart\Core\Util\EnvUtil; use ModStart\Module\ModuleManager; class ApiUtil { public static function config() { goto zF6bE; har3E: $cwaKT['payAlipayWebOn'] = $xA643->getBoolean('payAlipayWebOn'); goto WCAKw; e3MLK: $cwaKT['siteDescription'] = $xA643->get('siteDescription'); goto TKBaJ; PjEDW: $cwaKT['siteSlogan'] = $xA643->get('siteSlogan'); goto F5tFJ; ah6vk: $cwaKT['modules'] = ModuleManager::listAllEnableModuleNames(); goto HMOI7; AZoTL: $cwaKT['siteKeywords'] = $xA643->get('siteKeywords'); goto e3MLK; F5tFJ: $cwaKT['siteDomain'] = $xA643->get('siteDomain'); goto AZoTL; IQ0um: $cwaKT['siteBase'] = Request::domainUrl(); goto uPrIc; nqA5U: $cwaKT['dataUpload'] = array(); goto Ha0S7; lgm5d: $cwaKT['siteCDN'] = AssetsUtil::fixFull(AssetsUtil::cdn(), false); goto ah6vk; vEWxv: $pAF8H = config('data.upload'); goto feBDQ; Ha0S7: $cwaKT['dataUpload'] = array('chunkSize' => EnvUtil::env('uploadMaxSize'), 'category' => array()); goto vEWxv; G7lDi: $cwaKT['siteBeian'] = $xA643->get('siteBeian'); goto lgm5d; n3mD8: return $cwaKT; goto eBs_u; uPrIc: $cwaKT['siteLogo'] = AssetsUtil::fixFull($xA643->get('siteLogo')); goto alKRT; TKBaJ: $cwaKT['siteFavIco'] = AssetsUtil::fixFull($xA643->get('siteFavIco')); goto G7lDi; SSyTi: $cwaKT = array(); goto IQ0um; feBDQ: foreach ($pAF8H as $zmsn6 => $Pzfjq) { $cwaKT['dataUpload']['category'][$zmsn6] = array('maxSize' => $Pzfjq['maxSize'], 'extensions' => $Pzfjq['extensions']); } goto n3mD8; HMOI7: $cwaKT['payAlipayOn'] = $xA643->getBoolean('payAlipayOn'); goto har3E; alKRT: $cwaKT['siteName'] = $xA643->get('siteName'); goto PjEDW; WCAKw: $cwaKT['payWechatOn'] = $xA643->getBoolean('payWechatOn'); goto BuoVa; BuoVa: $cwaKT['payMemberMoneyOn'] = $xA643->getBoolean('payMemberMoneyOn'); goto nqA5U; zF6bE: $xA643 = modstart_config(); goto SSyTi; eBs_u: } }