<?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 OIfUW; ZAMlw: $Pg57y['siteLogo'] = AssetsUtil::fixFull($PoEPz->get('siteLogo')); goto NeohM; sYo5Q: $Pg57y['modules'] = ModuleManager::listAllEnableModuleNames(); goto xbMt6; IxLBJ: $Pg57y['payWechatOn'] = $PoEPz->getBoolean('payWechatOn'); goto wHXKf; QqbcO: return $Pg57y; goto Ood1c; xbMt6: $Pg57y['payAlipayOn'] = $PoEPz->getBoolean('payAlipayOn'); goto yriRa; yriRa: $Pg57y['payAlipayWebOn'] = $PoEPz->getBoolean('payAlipayWebOn'); goto IxLBJ; q1mqi: $Pg57y['siteFavIco'] = AssetsUtil::fixFull($PoEPz->get('siteFavIco')); goto HnXtt; XpPvA: $Pg57y['siteCDN'] = AssetsUtil::fixFull(AssetsUtil::cdn(), false); goto sYo5Q; rZPsQ: $Pg57y['siteBase'] = Request::domainUrl(); goto ZAMlw; NeohM: $Pg57y['siteName'] = $PoEPz->get('siteName'); goto Wc_zc; HnXtt: $Pg57y['siteBeian'] = $PoEPz->get('siteBeian'); goto XpPvA; ZM3v7: $Pg57y['siteKeywords'] = $PoEPz->get('siteKeywords'); goto CbKWp; G7CVw: foreach ($OYaf3 as $midJh => $Q7amr) { $Pg57y['dataUpload']['category'][$midJh] = array('maxSize' => $Q7amr['maxSize'], 'extensions' => $Q7amr['extensions']); } goto QqbcO; wHXKf: $Pg57y['payMemberMoneyOn'] = $PoEPz->getBoolean('payMemberMoneyOn'); goto u0A6L; OXSEG: $OYaf3 = config('data.upload'); goto G7CVw; Hw4VQ: $Pg57y = array(); goto rZPsQ; Lu1B6: $Pg57y['siteDomain'] = $PoEPz->get('siteDomain'); goto ZM3v7; Wc_zc: $Pg57y['siteSlogan'] = $PoEPz->get('siteSlogan'); goto Lu1B6; u0A6L: $Pg57y['dataUpload'] = array(); goto azOyw; CbKWp: $Pg57y['siteDescription'] = $PoEPz->get('siteDescription'); goto q1mqi; azOyw: $Pg57y['dataUpload'] = array('chunkSize' => EnvUtil::env('uploadMaxSize'), 'category' => array()); goto OXSEG; OIfUW: $PoEPz = modstart_config(); goto Hw4VQ; Ood1c: } }