public static function getElggVersion() {

		if (isset(self::$version)) {
			return self::$version;
		}

		if (is_callable('elgg_get_version')) {
			return elgg_get_version(true);
		} else {
			$path = self::getRootPath() . '/version.php';
			if (!include($path)) {
				return false;
			}
			self::$version = $release;
			return self::$version;
		}
	}
public static function getElggVersion() {

		if (isset(self::$version)) {
			return self::$version;
		}

		if (is_callable('elgg_get_version')) {
			return elgg_get_version(true);
		} else {
			$path = self::getRootPath() . '/version.php';
			if (!include($path)) {
				return false;
			}
			self::$version = $release;
			return self::$version;
		}
	}
public static function getElggVersion ( ) { if ( isset ( self :: $ version ) ) { return self :: $ version ; } if ( is_callable ( 'elgg_get_version' ) ) { return elgg_get_version ( true ) ; } else { $ path = self :: getRootPath ( ) . '/version.php' ; if ( ! include ( $ path ) ) { return false ; } self :: $ version = $ release ; return self :: $ version ; } }
Returns Elgg version
@return string|false
Returns Elgg version