<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Config; class AdminConfig { private static $config = null; private static function init() { goto Cs8u6; Cs8u6: self::$config = array(); goto lvulQ; lvulQ: self::$config['demoId'] = config('env.ADMIN_DEMO_USER_ID', 0); goto MgY5w; MgY5w: self::$config['founderId'] = config('env.ADMIN_FOUNDER_ID', 1); goto FJS1_; FJS1_: } public static function set($ax5t3, $FT9zA) { if (null === self::$config) { self::init(); } self::$config[$ax5t3] = $FT9zA; } public static function get($ax5t3 = null, $u9k5U = null) { goto M8fSp; M8fSp: if (null === self::$config) { self::init(); } goto Hx17Z; Hx17Z: if (null === $ax5t3) { return self::$config; } goto pK9RU; pK9RU: if (isset(self::$config[$ax5t3])) { return self::$config[$ax5t3]; } goto lAhtM; lAhtM: return $u9k5U; goto ZXeYX; ZXeYX: } }