芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/ancien-site-2019/site/administrator/components/com_akeeba/liveupdate/config.php
*/ 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://cdn.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); $this->_currentVersion = AKEEBA_VERSION; $this->_currentReleaseDate = AKEEBA_DATE; parent::__construct(); $this->_downloadID = AEPlatform::get_platform_configuration_option('update_dlid', ''); $this->_minStability = AEPlatform::get_platform_configuration_option('minstability', 'alpha'); $this->_cacerts = dirname(__FILE__).'/../akeeba/assets/cacert.pem'; if(substr($this->_currentVersion,0,3) == 'svn') { $this->_versionStrategy = 'newest'; } } }