<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Config; class AdminConfig { private static $config = null; private static function init() { goto n3Sv8; wdsQO: self::$config['founderId'] = config('env.ADMIN_FOUNDER_ID', 1); goto lFV_h; n3Sv8: self::$config = array(); goto SsHKO; SsHKO: self::$config['demoId'] = config('env.ADMIN_DEMO_USER_ID', 0); goto wdsQO; lFV_h: } public static function set($HQKqq, $mdHu1) { if (null === self::$config) { self::init(); } self::$config[$HQKqq] = $mdHu1; } public static function get($HQKqq = null, $rCJvC = null) { goto Q8hHk; Z4BNQ: return $rCJvC; goto Ly004; pV0cr: if (isset(self::$config[$HQKqq])) { return self::$config[$HQKqq]; } goto Z4BNQ; Q8hHk: if (null === self::$config) { self::init(); } goto zM_go; zM_go: if (null === $HQKqq) { return self::$config; } goto pV0cr; Ly004: } }