summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-18 11:30:47 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-18 11:30:47 +0100
commit5005b83ea1cafbed4361462fa3fea649f9a95cf4 (patch)
treef0edc626e11dddc19aff91a9b0ebe2f9e7b65fad /includes
parentd16c0b9fda4089b317ff0d4b83976f349aa3eb0d (diff)
downloadinstall-5005b83ea1cafbed4361462fa3fea649f9a95cf4.tar.gz
install-5005b83ea1cafbed4361462fa3fea649f9a95cf4.tar.bz2
install-5005b83ea1cafbed4361462fa3fea649f9a95cf4.zip
Ensure current bitweaver version in database
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/install_packages.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/install_packages.php b/includes/install_packages.php
index 3401d76..44c037a 100755
--- a/includes/install_packages.php
+++ b/includes/install_packages.php
@@ -473,9 +473,10 @@ if( !empty( $_REQUEST['cancel'] ) ) {
// ---------------------- 7. ----------------------
// Do stuff that only applies during the first install
$gBitInstaller->StartTrans();
+ // Always update the global bitweaver_version to the current fork baseline
+ $gBitSystem->storeVersion( NULL, BITWEAVER_VERSION );
+
if( isset( $_SESSION['first_install'] ) && $_SESSION['first_install'] == TRUE ) {
- // set the version of bitweaver in the database
- $gBitSystem->storeVersion( NULL, $gBitSystem->getBitVersion() );
// Some packages have some special things to take care of here.
foreach( $gBitInstaller->mInstallModules as $mod ) {