<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Config; class AdminConfig { private static $config = null; private static function init() { goto XKvlh; pgj6f: self::$config['demoId'] = config('env.ADMIN_DEMO_USER_ID', 0); goto ofx97; XKvlh: self::$config = array(); goto pgj6f; ofx97: self::$config['founderId'] = config('env.ADMIN_FOUNDER_ID', 1); goto EnD_y; EnD_y: } public static function set($dwwIV, $wvO30) { if (null === self::$config) { self::init(); } self::$config[$dwwIV] = $wvO30; } public static function get($dwwIV = null, $QsoDW = null) { goto OQz3O; OQz3O: if (null === self::$config) { self::init(); } goto devSI; devSI: if (null === $dwwIV) { return self::$config; } goto kPlDd; PCbwL: return $QsoDW; goto FRKDO; kPlDd: if (isset(self::$config[$dwwIV])) { return self::$config[$dwwIV]; } goto PCbwL; FRKDO: } }