<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Config; class AdminConfig { private static $config = null; private static function init() { goto slmrO; QKz0Q: self::$config['demoId'] = config('env.ADMIN_DEMO_USER_ID', 0); goto DjO91; DjO91: self::$config['founderId'] = config('env.ADMIN_FOUNDER_ID', 1); goto cYWmG; slmrO: self::$config = array(); goto QKz0Q; cYWmG: } public static function set($GUcFO, $ib3B9) { if (null === self::$config) { self::init(); } self::$config[$GUcFO] = $ib3B9; } public static function get($GUcFO = null, $TGBtt = null) { goto WLYZ0; ruZle: if (isset(self::$config[$GUcFO])) { return self::$config[$GUcFO]; } goto r0c2P; r0c2P: return $TGBtt; goto TR1C8; bjx8I: if (null === $GUcFO) { return self::$config; } goto ruZle; WLYZ0: if (null === self::$config) { self::init(); } goto bjx8I; TR1C8: } }