| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/icd/administrator/components/com_akeeba/liveupdate/ |
Upload File : |
<?php
/**
* @package LiveUpdate
* @copyright Copyright ©2011 Nicholas K. Dionysopoulos / AkeebaBackup.com
* @license GNU LGPLv3 or later <http://www.gnu.org/copyleft/lesser.html>
*/
defined('_JEXEC') or die();
/**
* Configuration class for your extension's updates. Override to your liking.
*/
class LiveUpdateConfig extends LiveUpdateAbstractConfig
{
var $_extensionName = 'com_akeeba';
var $_versionStrategy = 'different';
var $_storageAdapter = 'component';
var $_storageConfig = array(
'extensionName' => 'com_akeeba',
'key' => 'liveupdate'
);
function __construct()
{
$useSVNSource = AEPlatform::get_platform_configuration_option('usesvnsource', 0);
// Determine the appropriate update URL based on whether we're on Core or Professional edition
AEPlatform::load_version_defines();
$fname = 'http://www.akeebabackup.com/updates/ab';
$fname .= (AKEEBA_PRO == 1) ? 'pro' : 'core';
if($useSVNSource) $fname .= 'svn';
$fname .= '.ini';
$this->_updateURL = $fname;
$this->_extensionTitle = 'Akeeba Backup '.(AKEEBA_PRO == 1 ? 'Professional' : 'Core');
$this->_requiresAuthorization = (AKEEBA_PRO == 1);
parent::__construct();
$this->_downloadID = AEPlatform::get_platform_configuration_option('update_dlid', '');
}
}