Release of v4.0.2-alpha3

Fix database mySql update in J4+. Remove phpspreadsheet completely from Joomla 4+. Add option to use powers in preflight event in the installer class.
This commit is contained in:
2024-07-27 22:51:45 +02:00
parent 64adfe0a6f
commit f5011dd707
25 changed files with 928 additions and 356 deletions

View File

@@ -303,6 +303,24 @@ class Config extends BaseConfig
}
}
/**
* get component installer autoloader path
*
* @return string The component installer autoloader path
* @since 5.0.2
*/
protected function getComponentinstallerautoloaderpath(): string
{
if ($this->joomla_version == 3)
{
return 'script_powerloader.php';
}
else
{
return ucfirst($this->component_codename) . 'InstallerPowerloader.php';
}
}
/**
* get add namespace prefix
*