XF 2.1 enableAddOnArchiveInstaller in config.php

djbaxter

in memoriam 1947-2022
Just to confirm... the following is only applicable for upgrading addons, correct? It is not required to use upgrade of Xenforo itself from the control panel?

Installing or upgrading an add-on
Control panel installation (2.1+)

If you are running XenForo 2.1 or newer, you may be able to install or upgrade an add-on by uploading the zip file directly into the control panel. This requires a compatible server configuration and a change to the src/config.php file.

To enable this feature, you must first add the following line to the src/config.php file:

$config['enableAddOnArchiveInstaller'] = true;

And if you do not use the upgrade from the control panel feature, that line should either not exist or be disabled in config.php?

Just want to clarify and make sure I'm reading this correctly.
 
It's for installing and upgrading add-ons from the control panel, it's not required for upgrading XF itself (though the ZipArchive PHP extension is required for both).
 
Top Bottom