mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-12 16:01:40 +00:00
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:
parent
67cfd94d3e
commit
ef4415edf1
@ -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>
|
||||
|
31
src/administrator/manifests/packages/script.php
Normal file
31
src/administrator/manifests/packages/script.php
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user