- md5
- 6f66d473425d8620e571dd577862388b
- sha1
- 3c32c3d82d31ea063870ad12b9699402c1a422d1
- sha256
- 6ba6076d82a9c4cc704f9f8d96cb793244c2db122d00969effc044128c6efef8
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
<?php
/**
* @version $Id: version.php 4128 2006-06-25 20:37:34Z stingrey $
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
/**
* Version information
* @package Joomla
*/
class joomlaVersion {
/** @var string Product */
var $PRODUCT = 'Joomla!';
/** @var int Main Release Level */
var $RELEASE = '1.0';
/** @var string Development Status */
var $DEV_STATUS = 'Stable';
/** @var int Sub Release Level */
var $DEV_LEVEL = '10';
/** @var int build Number */
var $BUILD = '$Revision: 4128 $';
/** @var string Codename */
var $CODENAME = 'Sundown';
/** @var string Date */
var $RELDATE = '26 June 2006';
/** @var string Time */
var $RELTIME = '00:00';
/** @var string Timezone */
var $RELTZ = 'UTC';
/** @var string Copyright Text */
var $COPYRIGHT = "Copyright (C) 2005 - 2006 Open Source Matters. All rights reserved.";
/** @var string URL */
var $URL = '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU/GPL License.';
/** @var string Whether site is a production = 1 or demo site = 0: 1 is default */
var $SITE = 1;
/** @var string Whether site has restricted functionality mostly used for demo sites: 0 is default */
var $RESTRICT = 0;
/** @var string Whether site is still in development phase (disables checks for /installation folder) - should be set to 0 for package release: 0 is default */
var $SVN = 0;
/**
* @return string Long format version
*/
function getLongVersion() {
return $this->PRODUCT .' '. $this->RELEASE .'.'. $this->DEV_LEVEL .' '
. $this->DEV_STATUS
.' [ '.$this->CODENAME .' ] '. $this->RELDATE .' '
. $this->RELTIME .' '. $this->RELTZ;
}
/**
* @return string Short version format
*/
function getShortVersion() {
return $this->RELEASE .'.'. $this->DEV_LEVEL;
}
/**
* @return string Version suffix for help files
*/
function getHelpVersion() {
if ($this->RELEASE > '1.0') {
return '.' . str_replace( '.', '', $this->RELEASE );
} else {
return '';
}
}
}
$_VERSION = new joomlaVersion();
$version = $_VERSION->PRODUCT .' '. $_VERSION->RELEASE .'.'. $_VERSION->DEV_LEVEL .' '
. $_VERSION->DEV_STATUS
.' [ '.$_VERSION->CODENAME .' ] '. $_VERSION->RELDATE .' '
. $_VERSION->RELTIME .' '. $_VERSION->RELTZ;
?>
No other release has this exact content. See every version of this file.