X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=version.php;h=aa42d1b2f48ae1882252c529c79cd1eb18737c2b;hp=7f2a9fc475a512c65436de33553c2679434c5b65;hb=7e6e0807990447d2977b970c3a0fd28dc9250194;hpb=98a185d9959e4e273142042b354d42f77e013cdf diff --git a/version.php b/version.php index 7f2a9fc4..aa42d1b2 100644 --- a/version.php +++ b/version.php @@ -4,27 +4,22 @@ // Settings in this file can be automatically updated at any time during software update. // -// Internal data-source version compatibility check. Do not change. -$core_version = "2.3RC1"; +// Versions used by source/database version compatibility checks. Do not change. +$db_version = "2.4.1"; +$src_version = "2.4.9"; -// application version - can be set also in config.php -if (!isset($version)) - $version = "2.3RC1"; +// application version - can be overriden in config.php +$version = isset($SysPrefs->version) ? $SysPrefs->version : $src_version; //====================================================================== // Extension packages repository settings // -// Default authorization data. Can be set also in config.php +// Extensions repository. Can be overriden in config.php -if (!isset($repo_auth)) - $repo_auth = array( - 'login' => 'anonymous', - 'pass' => 'password', +$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 ); - -// Repository branch for current sources version -$FA_repo_version = '2.3'; - -// Extension packages repository url -$repository = 'http://'.$repo_auth['login'].':'.$repo_auth['pass'].'@'.'repo.frontaccounting.eu' - .'/index.php?path=';