<?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 gGIA7; ra0B2: $VWZyz = array(); goto QGGSB; jRRMX: if (file_exists($obXaA = public_path('asset/font-awesome/css/font-awesome.min.css')) && ($fKViA = file_get_contents($obXaA))) { preg_match_all('/\\.fa-([a-z0-9\\-]+):before/', $fKViA, $hfN7a); $VWZyz = array_map(function ($BRqP6) { return array('title' => $BRqP6, 'cls' => "fa fa-{$BRqP6}"); }, $hfN7a[1]); } goto T7W9q; bEdDT: $VGBzq[] = array('title' => '内置图标', 'list' => $VWZyz); goto h2ysy; gGIA7: $VGBzq = array(); goto ra0B2; h2ysy: $VWZyz = array(); goto jRRMX; Qi0Lv: return Response::jsonSuccessData($VGBzq); goto pMlhD; QGGSB: if (file_exists($obXaA = public_path('asset/vendor/iconfont/iconfont.css')) && ($fKViA = file_get_contents($obXaA))) { preg_match_all('/\\.icon-([a-z0-9\\-]+):before/', $fKViA, $hfN7a); $VWZyz = array_map(function ($BRqP6) { return array('title' => $BRqP6, 'cls' => "iconfont icon-{$BRqP6}"); }, $hfN7a[1]); } goto bEdDT; T7W9q: $VGBzq[] = array('title' => 'Font Awesome', 'list' => $VWZyz); goto Qi0Lv; pMlhD: } }