<?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 x5ub4; n0roX: $q62oK['siteName'] = $HaG3K->get('siteName'); goto qhV3B; ta_kV: $q62oK['siteCDN'] = AssetsUtil::fixFull(AssetsUtil::cdn(), false); goto a78Kx; DMdqd: $q62oK['payAlipayOn'] = $HaG3K->getBoolean('payAlipayOn'); goto Yx973; HWrVd: $q62oK['siteBase'] = Request::domainUrl(); goto ww1kL; OZpun: $q62oK['siteBeian'] = $HaG3K->get('siteBeian'); goto ta_kV; Yx973: $q62oK['payAlipayWebOn'] = $HaG3K->getBoolean('payAlipayWebOn'); goto b5nsa; m4sZT: $q62oK = array(); goto HWrVd; MQuoI: $q62oK['dataUpload'] = array(); goto ZNbWl; a1UOH: $T8lwi = config('data.upload'); goto tacXm; qPjih: $q62oK['siteDescription'] = $HaG3K->get('siteDescription'); goto fcktG; ZNbWl: $q62oK['dataUpload'] = array('chunkSize' => EnvUtil::env('uploadMaxSize'), 'category' => array()); goto a1UOH; qhV3B: $q62oK['siteSlogan'] = $HaG3K->get('siteSlogan'); goto xXPdW; pHeTM: $q62oK['payMemberMoneyOn'] = $HaG3K->getBoolean('payMemberMoneyOn'); goto MQuoI; fcktG: $q62oK['siteFavIco'] = AssetsUtil::fixFull($HaG3K->get('siteFavIco')); goto OZpun; b5nsa: $q62oK['payWechatOn'] = $HaG3K->getBoolean('payWechatOn'); goto pHeTM; tacXm: foreach ($T8lwi as $ar_Ag => $YWXfq) { $q62oK['dataUpload']['category'][$ar_Ag] = array('maxSize' => $YWXfq['maxSize'], 'extensions' => $YWXfq['extensions']); } goto ZBW5Y; YiN3r: $q62oK['siteKeywords'] = $HaG3K->get('siteKeywords'); goto qPjih; x5ub4: $HaG3K = modstart_config(); goto m4sZT; xXPdW: $q62oK['siteDomain'] = $HaG3K->get('siteDomain'); goto YiN3r; a78Kx: $q62oK['modules'] = ModuleManager::listAllEnableModuleNames(); goto DMdqd; ww1kL: $q62oK['siteLogo'] = AssetsUtil::fixFull($HaG3K->get('siteLogo')); goto n0roX; ZBW5Y: return $q62oK; goto NpHnJ; NpHnJ: } }