Support custom namespaces in autoloader

This commit is contained in:
Kijin Sung 2023-08-11 02:05:23 +09:00
parent 4f9f641067
commit 32832d1ab2
2 changed files with 18 additions and 0 deletions

View file

@ -41,6 +41,12 @@ class Config
self::save();
}
}
if (!empty(self::$_config['namespaces']))
{
$GLOBALS['RX_NAMESPACES'] = self::$_config['namespaces'];
}
return self::$_config;
}