Make placeholder for custom prefix support in the future

This commit is contained in:
Kijin Sung 2023-08-11 02:07:28 +09:00
parent a5bc18f015
commit 57be6abc9d
2 changed files with 6 additions and 0 deletions

View file

@ -136,6 +136,7 @@ return array(
'viewport' => 'width=device-width, initial-scale=1.0, user-scalable=yes',
),
'namespaces' => [],
'prefixes' => [],
'use_rewrite' => true,
'use_sso' => false,
'other' => array(),

View file

@ -47,6 +47,11 @@ class Config
$GLOBALS['RX_NAMESPACES'] = self::$_config['namespaces'];
}
if (!empty(self::$_config['prefixes']))
{
$GLOBALS['RX_PREFIXES'] = self::$_config['prefixes'];
}
return self::$_config;
}