<?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 rniKj; rP32Q: $M8IPu[] = array('title' => '内置图标', 'list' => $cBMfa); goto blovO; PdCwF: $cBMfa = array(); goto tUg8e; McHuc: $M8IPu[] = array('title' => 'Font Awesome', 'list' => $cBMfa); goto JiX1O; rniKj: $M8IPu = array(); goto PdCwF; FV3iU: if (file_exists($x_XbT = public_path('asset/font-awesome/css/font-awesome.min.css')) && ($eTwx_ = file_get_contents($x_XbT))) { preg_match_all('/\\.fa-([a-z0-9\\-]+):before/', $eTwx_, $Qie0V); $cBMfa = array_map(function ($MNqDV) { return array('title' => $MNqDV, 'cls' => "fa fa-{$MNqDV}"); }, $Qie0V[1]); } goto McHuc; blovO: $cBMfa = array(); goto FV3iU; JiX1O: return Response::jsonSuccessData($M8IPu); goto jMNYa; tUg8e: if (file_exists($x_XbT = public_path('asset/vendor/iconfont/iconfont.css')) && ($eTwx_ = file_get_contents($x_XbT))) { preg_match_all('/\\.icon-([a-z0-9\\-]+):before/', $eTwx_, $Qie0V); $cBMfa = array_map(function ($MNqDV) { return array('title' => $MNqDV, 'cls' => "iconfont icon-{$MNqDV}"); }, $Qie0V[1]); } goto rP32Q; jMNYa: } }