Script PHP (#306)

* add scriptphp

* add script PHP with warning about a not supported version

* add script PHP with warning about a not supported version

* remove debug

* add script PHP with warning about a not supported version
This commit is contained in:
zero-24 2017-02-13 20:21:37 +01:00 committed by Yves Hoppe
parent 67cfd94d3e
commit ef4415edf1
2 changed files with 32 additions and 0 deletions

View File

@ -13,6 +13,7 @@
<version>##VERSION##</version>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<description>PKG_WEBLINKS_XML_DESCRIPTION</description>
<scriptfile>script.php</scriptfile>
<files>
<!-- The id for each extension is the element stored in the DB -->
<file type="component" id="com_weblinks">com_weblinks.zip</file>

View File

@ -0,0 +1,31 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage Weblinks
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Installation class to perform additional changes during install/uninstall/update
*
* @since __DEPLOY_VERSION__
*/
class Pkg_WeblinksInstallerScript extends JInstallerScript
{
/**
* Extension script constructor.
*
* @return void
*
* @since __DEPLOY_VERSION__
*/
public function __construct()
{
$this->minimumJoomla = '3.6.3';
$this->minimumPhp = JOOMLA_MINIMUM_PHP;
}
}