<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Core\Input\Response; class WidgetIconController extends Controller { public static $PermitMethodMap = array('*' => '*'); public function index() { goto xLfDO; f9RzW: $HcCdC[] = array('title' => '内置图标', 'list' => $K938W); goto Q7jSa; xLfDO: $HcCdC = array(); goto UQGtd; SQmYL: if (file_exists($dG73t = public_path('asset/font-awesome/css/font-awesome.min.css')) && ($n16LT = file_get_contents($dG73t))) { preg_match_all('/\\.fa-([a-z0-9\\-]+):before/', $n16LT, $XeSWB); $K938W = array_map(function ($yP0KF) { return array('title' => $yP0KF, 'cls' => "fa fa-{$yP0KF}"); }, $XeSWB[1]); } goto vJRX7; UQGtd: $K938W = array(); goto DTMhI; SyVze: return Response::jsonSuccessData($HcCdC); goto FQZC3; Q7jSa: $K938W = array(); goto SQmYL; vJRX7: $HcCdC[] = array('title' => 'Font Awesome', 'list' => $K938W); goto SyVze; DTMhI: if (file_exists($dG73t = public_path('asset/vendor/iconfont/iconfont.css')) && ($n16LT = file_get_contents($dG73t))) { preg_match_all('/\\.icon-([a-z0-9\\-]+):before/', $n16LT, $XeSWB); $K938W = array_map(function ($yP0KF) { return array('title' => $yP0KF, 'cls' => "iconfont icon-{$yP0KF}"); }, $XeSWB[1]); } goto f9RzW; FQZC3: } }