Skip to content

Commit

Permalink
Merge pull request #310 from Bearsampp/june
Browse files Browse the repository at this point in the history
Change version ULR to string
  • Loading branch information
jwaisner committed Jun 28, 2023
2 parents a36f814 + 1bc4c5e commit 61f6a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/classes/class.lang.php
Expand Up @@ -58,6 +58,7 @@ class Lang
const VERBOSE_TRACE = 'verboseTrace';
const VERSION = 'version';
const VERSIONS = 'versions';
const VERSION_URL = 'https://github.com/Bearsampp/Bearsampp/releases/tag/';
const VIRTUAL_HOSTS = 'virtualHosts';
const WEBSITE = 'website';

Expand Down
2 changes: 1 addition & 1 deletion core/classes/class.util.php
Expand Up @@ -917,7 +917,7 @@ public static function getWebsiteUrl($path = '', $fragment = '', $utmSource = tr

public static function getVersionUrl($version)
{
return 'https://github.com/Bearsampp/Bearsampp/releases/tag/' . $version;
return LANG::VERSION_URL . $version;
}

public static function getChangelogUrl($utmSource = true)
Expand Down

0 comments on commit 61f6a37

Please sign in to comment.