109 lines
4.8 KiB
XML
109 lines
4.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--~
|
|
~ @package FOF
|
|
~ @copyright Copyright (c)2010-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
|
|
~ @license GNU General Public License version 3, or later
|
|
-->
|
|
|
|
<!--
|
|
A legitimate question among developers reading this file may be why we are using a "files" extension type instead of the
|
|
"library" type which, on the face of it, seems more appropriate.
|
|
|
|
We have not lost our mind. We are working around the adverse effects of the very different way Joomla treats "library"
|
|
packages than any other package type.
|
|
|
|
When applying an update to a library package Joomla! will uninstall it BEFORE it executes the installation script's
|
|
preflight event. This means that any checks made there to prevent the installation of the library in an incompatible
|
|
environment (e.g. wrong PHP or Joomla! version, or even preventing an accidental downgrade) results in the library files
|
|
being UNINSTALLED.
|
|
|
|
This is really bad for anyone who tries to install a library package on an unsupported environment. If the library
|
|
package runs no checks the installed library version causes the extensions that depend on it to crash, taking down the
|
|
site. If the library package runs checks in the earliest available point in time (preflight) you end up with the old
|
|
library files having been uninstalled which again causes the extensions that depend on it to crash, taking down the
|
|
site. No matter what you do, the very action of TRYING to install an unsupported library version KILLS THE SITE. This is
|
|
madness. Worse than that, this is a known issue in Joomla since ~2017 but nobody will fix it until a new major version.
|
|
Since this doesn't look likely in Joomla 4.0 we are talking about Joomla 5 which could be anywhere from two to ten years
|
|
into the future. Clearly this doesn't cut it for us: we don't want trying to install our software causing sites to stop
|
|
working!
|
|
|
|
The only thing we can do to prevent your sites from crashing to the ground if you try to install a version of our
|
|
software which does not support your PHP and/or Joomla! versions is to deliver our library as a *files* package. This
|
|
is nonsensical, it is 100% architecturally wrong BUT it is also the only way we can apply pre-installation checks which
|
|
fail gracefully instead of causing your site to crash and burn.
|
|
-->
|
|
<extension type="file" version="3.9" method="upgrade">
|
|
<name>file_fof40</name>
|
|
<description>
|
|
<![CDATA[
|
|
Framework-on-Framework (FOF) 4.x - The rapid application development framework for Joomla!.<br/>
|
|
<b>WARNING</b>: This is NOT a duplicate of the FOF library already installed with Joomla! 3. It is a different version used by other extensions on your site. Do NOT uninstall either FOF package. If you do you will break your site.
|
|
]]>
|
|
</description>
|
|
<creationDate>2022-01-04</creationDate>
|
|
<author>Nicholas K. Dionysopoulos / Akeeba Ltd</author>
|
|
<authorEmail>nicholas@akeeba.com</authorEmail>
|
|
<authorUrl>https://www.akeeba.com</authorUrl>
|
|
<copyright>Copyright (c)2010-2019 Nicholas K. Dionysopoulos / Akeeba Ltd</copyright>
|
|
<license>GNU GPL v3 or later</license>
|
|
<version>4.1.0</version>
|
|
<packager>Akeeba Ltd</packager>
|
|
<packagerurl>https://www.akeeba.com/download.html</packagerurl>
|
|
|
|
<fileset>
|
|
<files folder="fof" target="libraries/fof40">
|
|
<folder>Database</folder>
|
|
<folder>Configuration</folder>
|
|
<folder>Update</folder>
|
|
<folder>InstallScript</folder>
|
|
<folder>Input</folder>
|
|
<folder>Layout</folder>
|
|
<folder>Platform</folder>
|
|
<folder>Date</folder>
|
|
<folder>Timer</folder>
|
|
<folder>Dispatcher</folder>
|
|
<folder>ViewTemplates</folder>
|
|
<folder>Toolbar</folder>
|
|
<folder>Template</folder>
|
|
<folder>Inflector</folder>
|
|
<folder>Render</folder>
|
|
<folder>Utils</folder>
|
|
<folder>Html</folder>
|
|
<folder>language</folder>
|
|
<folder>Cli</folder>
|
|
<folder>Controller</folder>
|
|
<folder>Container</folder>
|
|
<folder>Pimple</folder>
|
|
<folder>Download</folder>
|
|
<folder>Params</folder>
|
|
<folder>Model</folder>
|
|
<folder>View</folder>
|
|
<folder>JoomlaAbstraction</folder>
|
|
<folder>TransparentAuthentication</folder>
|
|
<folder>IP</folder>
|
|
<folder>Encrypt</folder>
|
|
<folder>Event</folder>
|
|
<folder>Factory</folder>
|
|
<folder>Autoloader</folder>
|
|
|
|
<file>LICENSE.txt</file>
|
|
<file>include.php</file>
|
|
<file>version.txt</file>
|
|
<file>.htaccess</file>
|
|
<file>web.config</file>
|
|
</files>
|
|
<files folder="fof/language/en-GB" target="language/en-GB">
|
|
<file>en-GB.lib_fof40.ini</file>
|
|
</files>
|
|
<files folder="fof/language/en-GB" target="administrator/language/en-GB">
|
|
<file>en-GB.lib_fof40.ini</file>
|
|
</files>
|
|
</fileset>
|
|
|
|
<!-- Installation / uninstallation script file -->
|
|
<scriptfile>script.fof.php</scriptfile>
|
|
|
|
<updateservers>
|
|
<server type="extension" priority="1" name="FOF 4.x">http://cdn.akeeba.com/updates/fof4_file.xml</server>
|
|
</updateservers>
|
|
</extension> |