From 4096880fbdddd6404be57414393eef3358031113 Mon Sep 17 00:00:00 2001
From: Jesse Norell <jesse@kci.net>
Date: Thu, 15 Jul 2021 14:42:24 -0600
Subject: [PATCH] missing parenthesis

---
 install/install.php | 2 +-
 install/update.php  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/install.php b/install/install.php
index 6194e556a1..b94c1c7f6f 100644
--- a/install/install.php
+++ b/install/install.php
@@ -162,7 +162,7 @@ if(!is_writable(dirname(ISPC_LOG_FILE))){
 
 //** Check for ISPConfig 2.x versions
 if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) {
-	if(is_dir('/home/admispconfig') {
+	if(is_dir('/home/admispconfig')) {
 		die('This software cannot be installed on a server which runs ISPConfig 2.x.');
 	} else {
 		die('This software cannot be installed on a server which runs ISPConfig 2.x; the presence of the /root/ispconfig/ directory may indicate an ISPConfig 2.x installation, otherwise you can remove or rename it to continue.');
diff --git a/install/update.php b/install/update.php
index d584c112cf..4639615801 100644
--- a/install/update.php
+++ b/install/update.php
@@ -96,7 +96,7 @@ require_once 'lib/classes/tpl.inc.php';
 
 //** Check for ISPConfig 2.x versions
 if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) {
-	if(is_dir('/home/admispconfig') {
+	if(is_dir('/home/admispconfig')) {
 		die('This software cannot be installed on a server which runs ISPConfig 2.x.');
 	} else {
 		die('This software cannot be installed on a server which runs ISPConfig 2.x; the presence of the /root/ispconfig/ directory may indicate an ISPConfig 2.x installation, otherwise you can remove or rename it to continue.');
-- 
GitLab