X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=version.php;h=24ca96b9b937480d9f95d123b5704603a45133c6;hb=e01ce098c8862750e2f4f66f255191e83a4ce1d6;hp=1d9ec3732edd94ae30e6f44803786585053d228a;hpb=113a0f4ffc2b8860505bcc26574e8b6e1dddab65;p=fa-stable.git diff --git a/version.php b/version.php index 1d9ec373..24ca96b9 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.4"; // application version - can be overriden in config.php -if (!isset($version)) - $version = "2.3.26"; +$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 );