joomla/com_fileprotect/fileprotect.xml
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.6.0" method="upgrade">
<name>fileprotect</name>
<!-- The following elements are optional and free of formatting constraints -->
<creationDate>April 2017</creationDate>
<author>Walter Keller</author>
<authorEmail>wa@wlkl.ch</authorEmail>
<authorUrl>http://www.wlkl.ch</authorUrl>
<copyright>Copyright Info</copyright>
<license>License Info</license>
<!-- The version string is recorded in the components table -->
<version>0.0.1</version>
<!-- The description is optional and defaults to the name -->
<description>fileprotect access files only if allowed for user</description>
<!-- Site Main File Copy Section -->
<!-- Note the folder attribute: This attribute describes the folder
to copy FROM in the package to install therefore files copied
in this section are copied from /site/ in the package -->
<files folder="site">
<filename>index.html</filename>
<filename>fileprotect.php</filename>
<filename>router.php</filename>
<folder>views</folder>
</files>
<administration>
<!-- Administration Menu Section -->
<menu link='index.php?option=com_fileprotect'>COM_FILEPROTECT_MENU</menu>
<!-- Administration Main File Copy Section -->
<!-- Note the folder attribute: This attribute describes the folder
to copy FROM in the package to install therefore files copied
in this section are copied from /admin/ in the package -->
<files folder="admin">
<!-- Admin Main File Copy Section -->
<filename>index.html</filename>
<filename>fileprotect.php</filename>
</files>
<languages folder="admin/language">
<language tag="en-GB">en-GB/en-GB.com_fileprotect.sys.ini</language>
<language tag="en-GB">en-GB/en-GB.com_fileprotect.ini</language>
</languages>
</administration>
</extension>