Supplier Invoices, Supplier Credit Notes: fixed editon form bugs, fixed reference...
[fa-stable.git] / version.php
index 6cf66b206c84e5b3c4f9e7f245fe2a67ba3624f1..54d2e436ea7f5d3ca3083c8d59fc7d47b19e26b5 100644 (file)
@@ -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.0";
+$src_version = "2.4 beta";
 
 // application version - can be overriden in config.php
-if (!isset($version))
-       $version                = "2.3RC1";
+$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(
+$repo_auth = isset($SysPrefs->repo_auth) ? $SysPrefs->repo_auth :
+array(
                 'login' => 'anonymous',
                 'pass' => 'password',
                 'host' => 'repo.frontaccounting.eu', // repo server address
-                'branch' => '2.3'      // Repository branch for current sources version
+                'branch' => '2.4'      // Repository branch for current sources version
 );