Fixed backward compatibility for extensions repository settings in config.php, cleanu...
[fa-stable.git] / version.php
1 <?php
2 //==========================================================================================
3 //
4 // Settings in this file can be automatically updated at any time during software update.
5 //
6
7 // Versions used by source/database version compatibility checks. Do not change.
8 $db_version = "2.4.0";
9 $src_version = "2.4.0";
10
11 // application version - can be overriden in config.php
12 $version = isset($SysPrefs->version) ? $SysPrefs->version : $src_version;
13
14 //======================================================================
15 // Extension packages repository settings 
16 //
17 // Extensions repository. Can be overriden in config.php
18
19 $repo_auth = isset($SysPrefs->repo_auth) ? $SysPrefs->repo_auth :
20 array(
21                  'login' => 'anonymous',
22                  'pass' => 'password',
23                  'host' => 'repo.frontaccounting.eu', // repo server address
24                  'branch' => '2.3'      // Repository branch for current sources version
25 );