Browse Source

Update Filegator Configuration when allready installed

Updates from RC to Release, Beta to Release did not update if configuration.php was changed...
Jaap Marcus 5 years ago
parent
commit
ea320fab15
1 changed files with 4 additions and 0 deletions
  1. 4 0
      install/upgrade/versions/latest.sh

+ 4 - 0
install/upgrade/versions/latest.sh

@@ -138,6 +138,10 @@ if [ ! -e "$HESTIA/web/fm/configuration.php" ]; then
 
     # Install the FileManager
     source $HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
+else 
+    echo "(*) Update Filegator Configuration..."
+    # Update configuration.php
+    cp -f $HESTIA_INSTALL_DIR/filemanager/filegator/configuration.php $HESTIA/web/fm/configuration.php
 fi
 
 # Enable nginx module loading