BREAKING CHANGE : install.xml for J5 component

This commit is contained in:
vincent.tisseyre 2024-11-08 09:53:21 +01:00
parent bddf122a58
commit 326a46370e

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.0" method="upgrade"> <extension type="component" version="4.0" method="upgrade">
<name>leaflet</name> <name>leaflet</name>
<!-- The following elements are optional and free of formatting constraints --> <!-- The following elements are optional and free of formatting constraints -->
@ -24,15 +24,19 @@
<!-- Note the folder attribute: This attribute describes the folder <!-- Note the folder attribute: This attribute describes the folder
to copy FROM in the package to install therefore files copied to copy FROM in the package to install therefore files copied
in this section are copied from /site/ in the package --> in this section are copied from /site/ in the package -->
<files folder="site"> <files folder="site/">
<filename>index.html</filename> <file>leaflet.php</file>
<filename>leaflet.php</filename>
<filename>controller.php</filename>
<folder>views</folder>
<folder>assets</folder> <folder>assets</folder>
<folder>models</folder> <folder>services</folder>
<folder>language</folder>
<folder>src</folder>
<folder>tmpl</folder>
</files> </files>
<languages>
<language tag="fr-FR">site/language/fr-FR/fr-FR.com_leaflet.ini</language>
</languages>
<media destination="com_leaflet" folder="media"> <media destination="com_leaflet" folder="media">
<filename>index.html</filename> <filename>index.html</filename>
<folder>js</folder> <folder>js</folder>
@ -45,14 +49,20 @@
<!-- Note the folder attribute: This attribute describes the folder <!-- Note the folder attribute: This attribute describes the folder
to copy FROM in the package to install therefore files copied to copy FROM in the package to install therefore files copied
in this section are copied from /admin/ in the package --> in this section are copied from /admin/ in the package -->
<files folder="admin"> <files folder="admin/">
<!-- Admin Main File Copy Section --> <!-- Admin Main File Copy Section -->
<filename>index.html</filename>
<filename>leaflet.php</filename>
<folder>language</folder> <folder>language</folder>
<folder>services</folder>
<folder>src</folder>
<folder>tmpl</folder>
<!-- SQL files section --> <!-- SQL files section -->
<folder>sql</folder> <folder>sql</folder>
</files> </files>
<languages>
<language tag="fr-FR">admin/language/fr-FR/fr-FR.com_leaflet.ini</language>
<language tag="fr-FR">admin/language/fr-FR/fr-FR.com_leaflet.sys.ini</language>
</languages>
</administration> </administration>
</extension> </extension>