Release of v5.0.0-beta4

Add fallback option to ensure that all JCB tables and fields exist. Move the powers autoloader to its own file.
This commit is contained in:
2024-04-22 01:15:03 +02:00
parent 00f14c3bba
commit 0193ab735c
95 changed files with 11151 additions and 6749 deletions

View File

@@ -88,7 +88,8 @@ class Autoloader
*/
public function set()
{
if (ArrayHelper::check($this->power->namespace))
// make sure we only load this once
if (ArrayHelper::check($this->power->namespace) && !$this->content->isString('CUSTOM_POWER_AUTOLOADER'))
{
/************************* IMPORTANT SORT NOTICE ***********************************************
* make sure the name space values are sorted from the longest string to the shortest