X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=version.php;h=eb4c65c5ed75443d70a1a456d2a1ab2a32e42e34;hb=e8346021781943cc91a856e43a4691dc6975b891;hp=9c6b8adacd09f0bcf5342bcbcc863095c0669e2e;hpb=9c2d444e2ce0243ecfd7a083f7c369e6e5f82cee;p=fa-stable.git diff --git a/version.php b/version.php index 9c6b8ada..eb4c65c5 100644 --- a/version.php +++ b/version.php @@ -4,22 +4,22 @@ // Settings in this file can be automatically updated at any time during software update. // -// Internal database version compatibility check. Do not change. -$db_version = "2.3rc"; +// Versions used by source/database version compatibility checks. Do not change. +$db_version = "2.4.1"; +$src_version = "2.4.13"; // application version - can be overriden in config.php -if (!isset($version)) - $version = "2.3.7"; +$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 );