<?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 dkQ1R; BGgx8: $w_SMO = config('data.upload'); goto PbjS1; QXclZ: $smBDO['payAlipayWebOn'] = $XhVgh->getBoolean('payAlipayWebOn'); goto HVQt5; SyneF: $smBDO['siteFavIco'] = AssetsUtil::fixFull($XhVgh->get('siteFavIco')); goto ZWWEu; Vl8xa: $smBDO['siteKeywords'] = $XhVgh->get('siteKeywords'); goto JH8oN; dkQ1R: $XhVgh = modstart_config(); goto dc3N0; AynNN: $smBDO['payAlipayOn'] = $XhVgh->getBoolean('payAlipayOn'); goto QXclZ; JH8oN: $smBDO['siteDescription'] = $XhVgh->get('siteDescription'); goto SyneF; ZWWEu: $smBDO['siteBeian'] = $XhVgh->get('siteBeian'); goto YbyB5; itVMX: $smBDO['siteBase'] = Request::domainUrl(); goto Z0fBu; YbyB5: $smBDO['siteCDN'] = AssetsUtil::fixFull(AssetsUtil::cdn(), false); goto MUe5k; TZNFQ: $smBDO['payMemberMoneyOn'] = $XhVgh->getBoolean('payMemberMoneyOn'); goto Siftv; PbjS1: foreach ($w_SMO as $Q4JCn => $F8isi) { $smBDO['dataUpload']['category'][$Q4JCn] = array('maxSize' => $F8isi['maxSize'], 'extensions' => $F8isi['extensions']); } goto WoXEg; P4h6t: $smBDO['siteDomain'] = $XhVgh->get('siteDomain'); goto Vl8xa; WoXEg: return $smBDO; goto NRMvd; lRQ81: $smBDO['siteName'] = $XhVgh->get('siteName'); goto uhFpl; HVQt5: $smBDO['payWechatOn'] = $XhVgh->getBoolean('payWechatOn'); goto TZNFQ; MUe5k: $smBDO['modules'] = ModuleManager::listAllEnableModuleNames(); goto AynNN; d03_f: $smBDO['dataUpload'] = array('chunkSize' => EnvUtil::env('uploadMaxSize'), 'category' => array()); goto BGgx8; Z0fBu: $smBDO['siteLogo'] = AssetsUtil::fixFull($XhVgh->get('siteLogo')); goto lRQ81; uhFpl: $smBDO['siteSlogan'] = $XhVgh->get('siteSlogan'); goto P4h6t; Siftv: $smBDO['dataUpload'] = array(); goto d03_f; dc3N0: $smBDO = array(); goto itVMX; NRMvd: } }