public final function __construct() { static $config; if (empty($config)) { $config = \Core\Func\CoreFunc::loadConfig(); } $this->prefix = self::$modelPrefix = empty($config[GROUP]) ? $config['DB_PREFIX'] : $config[GROUP]['DB_PREFIX']; $this->chooseTheme(); $this->__init(); }
public final function __construct() { static $config; if (empty($config)) { $config = \Core\Func\CoreFunc::loadConfig(); } $this->prefix = self::$modelPrefix = empty($config[GROUP]) ? $config['DB_PREFIX'] : $config[GROUP]['DB_PREFIX']; $this->chooseTheme(); $this->assign('siteTitle', $config['SITETITLE']); $this->assign('URLMODEL', $config['URLMODEL']); $this->__init(); }