<?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 Y8LjE; Sc2lO: return Response::jsonSuccessData($C43m_); goto nXstd; yU4Z2: $YK6cM = array(); goto iQCU1; Dupvw: $C43m_[] = array('title' => 'Font Awesome', 'list' => $YK6cM); goto Sc2lO; sJG61: $YK6cM = array(); goto pKhIw; pKhIw: if (file_exists($Jm77a = public_path('asset/font-awesome/css/font-awesome.min.css')) && ($MPmfx = file_get_contents($Jm77a))) { preg_match_all('/\\.fa-([a-z0-9\\-]+):before/', $MPmfx, $Uy2Nw); $YK6cM = array_map(function ($WUQUn) { return array('title' => $WUQUn, 'cls' => "fa fa-{$WUQUn}"); }, $Uy2Nw[1]); } goto Dupvw; gHmjG: $C43m_[] = array('title' => '内置图标', 'list' => $YK6cM); goto sJG61; iQCU1: if (file_exists($Jm77a = public_path('asset/vendor/iconfont/iconfont.css')) && ($MPmfx = file_get_contents($Jm77a))) { preg_match_all('/\\.icon-([a-z0-9\\-]+):before/', $MPmfx, $Uy2Nw); $YK6cM = array_map(function ($WUQUn) { return array('title' => $WUQUn, 'cls' => "iconfont icon-{$WUQUn}"); }, $Uy2Nw[1]); } goto gHmjG; Y8LjE: $C43m_ = array(); goto yU4Z2; nXstd: } }