X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=version.php;h=68fd95f268264c162c5d77fb026949070c476074;hb=0694fdb6ca4f9cb947db9275ea91b40028d4b57c;hp=69d43f76eac6acb829a5e7a7d4f0d4abb803ff85;hpb=dd0aa89391d4fd197f7b9894ab7621adcadd41b5;p=fa-stable.git diff --git a/version.php b/version.php index 69d43f76..68fd95f2 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.7"; // application version - can be overriden in config.php -if (!isset($version)) - $version = "2.3.17"; +$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 );