<?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 Obrz7; yWAsm: foreach ($ZgBHH as $c9UmZ => $X1Rog) { $xJzrK['dataUpload']['category'][$c9UmZ] = array('maxSize' => $X1Rog['maxSize'], 'extensions' => $X1Rog['extensions']); } goto uBKd8; ngq3a: $xJzrK['siteKeywords'] = $PnQiC->get('siteKeywords'); goto rL1mp; EADhC: $xJzrK['siteSlogan'] = $PnQiC->get('siteSlogan'); goto rTB3k; uBKd8: return $xJzrK; goto K8nlB; rgDFy: $xJzrK['siteName'] = $PnQiC->get('siteName'); goto EADhC; OuVkU: $xJzrK['payAlipayOn'] = $PnQiC->getBoolean('payAlipayOn'); goto sAAyD; a2iGH: $xJzrK = array(); goto x8h3i; x8h3i: $xJzrK['siteBase'] = Request::domainUrl(); goto OtHx5; OtHx5: $xJzrK['siteLogo'] = AssetsUtil::fixFull($PnQiC->get('siteLogo')); goto rgDFy; k0n3M: $xJzrK['siteFavIco'] = AssetsUtil::fixFull($PnQiC->get('siteFavIco')); goto Ecgpa; rTB3k: $xJzrK['siteDomain'] = $PnQiC->get('siteDomain'); goto ngq3a; ftZhA: $ZgBHH = config('data.upload'); goto yWAsm; UPiaN: $xJzrK['dataUpload'] = array(); goto sXrR9; bQRHH: $xJzrK['siteCDN'] = AssetsUtil::fixFull(AssetsUtil::cdn(), false); goto GvMiX; rL1mp: $xJzrK['siteDescription'] = $PnQiC->get('siteDescription'); goto k0n3M; sAAyD: $xJzrK['payAlipayWebOn'] = $PnQiC->getBoolean('payAlipayWebOn'); goto d3sMb; d3sMb: $xJzrK['payWechatOn'] = $PnQiC->getBoolean('payWechatOn'); goto dD0hj; Ecgpa: $xJzrK['siteBeian'] = $PnQiC->get('siteBeian'); goto bQRHH; dD0hj: $xJzrK['payMemberMoneyOn'] = $PnQiC->getBoolean('payMemberMoneyOn'); goto UPiaN; Obrz7: $PnQiC = modstart_config(); goto a2iGH; GvMiX: $xJzrK['modules'] = ModuleManager::listAllEnableModuleNames(); goto OuVkU; sXrR9: $xJzrK['dataUpload'] = array('chunkSize' => EnvUtil::env('uploadMaxSize'), 'category' => array()); goto ftZhA; K8nlB: } }