Added extensions compatibility checks during site upgrade and per company activation.
[fa-stable.git] / version.php
index 73ae4b36f8b11b42fd1dbccbb796c999b2888e00..8964676933856494ef5b51b7c0eeb434e53d1886 100644 (file)
@@ -4,27 +4,23 @@
 // 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.3rc";
+// Versions used by source/database version compatibility checks. Do not change.
+$db_version = "2.4.0";
+$src_version = "2.4.0";
 
-// application version - can be set also in config.php
+// application version - can be overriden in config.php
 if (!isset($version))
-       $version                = "2.3RC1";
+       $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',
+                'host' => 'repo.frontaccounting.eu', // repo server address
+                'branch' => '2.3'      // 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=';