芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.1/modules/mod_version/src/Helper/VersionHelper.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Module\Version\Administrator\Helper; \defined('_JEXEC') or die; use Joomla\CMS\Version; /** * Helper for mod_version * * @since 1.6 */ abstract class VersionHelper { /** * Get the Joomla version number. * * @return string String containing the current Joomla version. */ public static function getVersion() { $version = new Version; return '' . $version->getShortVersion(); } }