<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Config; class AdminConfig { private static $config = null; private static function init() { goto Z363F; Gxo0V: self::$config['founderId'] = config('env.ADMIN_FOUNDER_ID', 1); goto oHRSf; FBUuI: self::$config['demoId'] = config('env.ADMIN_DEMO_USER_ID', 0); goto Gxo0V; Z363F: self::$config = array(); goto FBUuI; oHRSf: } public static function set($l6tBV, $Mczr_) { if (null === self::$config) { self::init(); } self::$config[$l6tBV] = $Mczr_; } public static function get($l6tBV = null, $jDU6Q = null) { goto JbA6e; JbA6e: if (null === self::$config) { self::init(); } goto ORNOU; ORNOU: if (null === $l6tBV) { return self::$config; } goto rWpaR; rWpaR: if (isset(self::$config[$l6tBV])) { return self::$config[$l6tBV]; } goto mY2wY; mY2wY: return $jDU6Q; goto YjKeK; YjKeK: } }