From 9b6e4242a07c606d14f871aafc68b3f90ebefe66 Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Thu, 14 Apr 2022 10:56:37 +0200 Subject: [PATCH] Disable update on development environments --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index ed18c099..24a564b0 100644 --- a/index.php +++ b/index.php @@ -142,7 +142,7 @@ if (!$options || !$options->getOption('isInstalled')) { /** * Database Update */ -if ($options && $options->getOption('isInstalled')) { +if ($options && $options->getOption('isInstalled') && !(defined('ENV_IS_DEV') && ENV_IS_DEV)) { if (-1 === version_compare($options->version, VERSION)) { $options->setOption('updateAvailable', true); }