-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