X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=version.php;h=e16f0e39656f22075b58d1ae2f863c9c3297a314;hb=63ae1f3e711999bb87e02c4a7fdab7fda6c3f5d1;hp=cac24aeeea8c48394d5dfb5d3a75215cc0ffa684;hpb=68b34f1f01c1869672a39b641952d4aa6d7de9d0;p=fa-stable.git diff --git a/version.php b/version.php index cac24aee..e16f0e39 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.8"; // application version - can be overriden in config.php -if (!isset($version)) - $version = "2.3RC2"; +$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 );