X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=version.php;h=f209d4324779245935bb492a8d3396eac012bd2d;hb=24fb0a10f96e0ffba9b877c662ae2bf9dc79256b;hp=8964676933856494ef5b51b7c0eeb434e53d1886;hpb=d1babda7c01b314d35fb89f2d195553b55936532;p=fa-stable.git diff --git a/version.php b/version.php index 89646769..f209d432 100644 --- a/version.php +++ b/version.php @@ -5,22 +5,21 @@ // // Versions used by source/database version compatibility checks. Do not change. -$db_version = "2.4.0"; -$src_version = "2.4.0"; +$db_version = "2.4.1"; +$src_version = "2.4.16"; // application version - can be overriden in config.php -if (!isset($version)) - $version = $src_version; +$version = isset($SysPrefs->version) ? $SysPrefs->version : $src_version; //====================================================================== // Extension packages repository settings // // Extensions repository. Can be overriden in config.php -if (!isset($repo_auth)) - $repo_auth = array( - 'login' => 'anonymous', - 'pass' => 'password', - 'host' => 'repo.frontaccounting.eu', // repo server address - 'branch' => '2.3' // Repository branch for current sources version +$repo_auth = isset($SysPrefs->repo_auth) ? $SysPrefs->repo_auth : +array( + 'login' => 'anonymous', + 'pass' => 'password', + 'host' => 'repo.frontaccounting.eu', // repo server address + 'branch' => '2.4' // Repository branch for current sources version );