<?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 pu65Q; eAbEt: $MGhSY['siteCDN'] = AssetsUtil::fixFull(AssetsUtil::cdn(), false); goto tbqBm; mKzCb: $MGhSY['payMemberMoneyOn'] = $ShJO2->getBoolean('payMemberMoneyOn'); goto EV0FN; avvsl: $MGhSY['payWechatOn'] = $ShJO2->getBoolean('payWechatOn'); goto mKzCb; uXVbm: return $MGhSY; goto X08Rh; UDG1R: $MGhSY['siteDomain'] = $ShJO2->get('siteDomain'); goto m67hB; wOnWf: $MGhSY['siteName'] = $ShJO2->get('siteName'); goto Yyin_; o1XqB: $MGhSY['siteBase'] = Request::domainUrl(); goto i2BnA; mOoVr: $MGhSY['dataUpload'] = array('chunkSize' => EnvUtil::env('uploadMaxSize'), 'category' => array()); goto bzRM_; Yyin_: $MGhSY['siteSlogan'] = $ShJO2->get('siteSlogan'); goto UDG1R; OBVav: $MGhSY['payAlipayWebOn'] = $ShJO2->getBoolean('payAlipayWebOn'); goto avvsl; rNGfc: $MGhSY['siteBeian'] = $ShJO2->get('siteBeian'); goto eAbEt; Gm_W0: $MGhSY['payAlipayOn'] = $ShJO2->getBoolean('payAlipayOn'); goto OBVav; s3pUW: $MGhSY = array(); goto o1XqB; i2BnA: $MGhSY['siteLogo'] = AssetsUtil::fixFull($ShJO2->get('siteLogo')); goto wOnWf; tbqBm: $MGhSY['modules'] = ModuleManager::listAllEnableModuleNames(); goto Gm_W0; ef519: $MGhSY['siteDescription'] = $ShJO2->get('siteDescription'); goto DWNAz; jxviy: foreach ($aqRhK as $aCqo2 => $G8UMA) { $MGhSY['dataUpload']['category'][$aCqo2] = array('maxSize' => $G8UMA['maxSize'], 'extensions' => $G8UMA['extensions']); } goto uXVbm; pu65Q: $ShJO2 = modstart_config(); goto s3pUW; bzRM_: $aqRhK = config('data.upload'); goto jxviy; EV0FN: $MGhSY['dataUpload'] = array(); goto mOoVr; m67hB: $MGhSY['siteKeywords'] = $ShJO2->get('siteKeywords'); goto ef519; DWNAz: $MGhSY['siteFavIco'] = AssetsUtil::fixFull($ShJO2->get('siteFavIco')); goto rNGfc; X08Rh: } }