From b381cf15d8a4e35ae61cc3f3f75201f044225670 Mon Sep 17 00:00:00 2001
From: SofianeLasri <alasri250@gmail.com>
Date: Thu, 23 Sep 2021 16:15:13 +0200
Subject: [PATCH] 2nd hotfix for updater

---
 vbcms-core/clientBackTasks.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vbcms-core/clientBackTasks.php b/vbcms-core/clientBackTasks.php
index 246d79f..8e8c811 100644
--- a/vbcms-core/clientBackTasks.php
+++ b/vbcms-core/clientBackTasks.php
@@ -41,7 +41,7 @@ if (isset($_GET["updateVBcms"])&&!empty($_GET["updateVBcms"])) {
 				}
 				
 				$response["success"] = true;
-				if(file_exists($GLOBALS['vbcmsRootPath']."install.php"))
+				if(file_exists($GLOBALS['vbcmsRootPath']."/install.php"))
 					$response["link"] = VBcmsGetSetting("websiteUrl")."install.php";
 				else
 					$response["link"] = VBcmsGetSetting("websiteUrl")."vbcms-admin";
-- 
GitLab