X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=version.php;h=76ffb3d29f32d51ba235a64b416bfc3aea89b104;hp=1b3db02e8fdeb9893cfaaaeaad54a738f401149a;hb=48589f9ce6c51bb25e2fa8ed83c57d9dfa485e44;hpb=90b3d069d96b99671af51726e2953352738abb75 diff --git a/version.php b/version.php index 1b3db02e..76ffb3d2 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.12"; // application version - can be overriden in config.php -if (!isset($version)) - $version = "2.4 alpha"; +$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 );