<?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 OO4Gh; VFmKX: $U8wjN['siteBeian'] = $akSp2->get('siteBeian'); goto KILTF; RJRd4: $U8wjN['dataUpload'] = array(); goto ko39N; rwwuR: $U8wjN['siteKeywords'] = $akSp2->get('siteKeywords'); goto yRr4l; HvH21: $U8wjN['payAlipayWebOn'] = $akSp2->getBoolean('payAlipayWebOn'); goto IW1jj; ko39N: $U8wjN['dataUpload'] = array('chunkSize' => EnvUtil::env('uploadMaxSize'), 'category' => array()); goto r0nqX; r0nqX: $cQIhL = config('data.upload'); goto lmioK; fUW64: $U8wjN['modules'] = ModuleManager::listAllEnableModuleNames(); goto AegsY; KILTF: $U8wjN['siteCDN'] = AssetsUtil::fixFull(AssetsUtil::cdn(), false); goto fUW64; i2jSR: $U8wjN['payMemberMoneyOn'] = $akSp2->getBoolean('payMemberMoneyOn'); goto RJRd4; yRr4l: $U8wjN['siteDescription'] = $akSp2->get('siteDescription'); goto Orw3k; k2ZJQ: $U8wjN['siteLogo'] = AssetsUtil::fixFull($akSp2->get('siteLogo')); goto coKuj; coKuj: $U8wjN['siteName'] = $akSp2->get('siteName'); goto BBMsO; LEQtT: return $U8wjN; goto fHmoD; elzc2: $U8wjN['siteDomain'] = $akSp2->get('siteDomain'); goto rwwuR; IW1jj: $U8wjN['payWechatOn'] = $akSp2->getBoolean('payWechatOn'); goto i2jSR; AegsY: $U8wjN['payAlipayOn'] = $akSp2->getBoolean('payAlipayOn'); goto HvH21; BBMsO: $U8wjN['siteSlogan'] = $akSp2->get('siteSlogan'); goto elzc2; lmioK: foreach ($cQIhL as $WDJxG => $P1g29) { $U8wjN['dataUpload']['category'][$WDJxG] = array('maxSize' => $P1g29['maxSize'], 'extensions' => $P1g29['extensions']); } goto LEQtT; iqzDO: $U8wjN['siteBase'] = Request::domainUrl(); goto k2ZJQ; Orw3k: $U8wjN['siteFavIco'] = AssetsUtil::fixFull($akSp2->get('siteFavIco')); goto VFmKX; OO4Gh: $akSp2 = modstart_config(); goto G1zwA; G1zwA: $U8wjN = array(); goto iqzDO; fHmoD: } }