From 3fdcdfbba87e91aeab8e901b64517e2386b0e58a Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 14 Aug 2013 16:56:16 -0700 Subject: [PATCH] Fix undefined var --- install/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/index.php b/install/index.php index c1a0e0692f..d70c360066 100644 --- a/install/index.php +++ b/install/index.php @@ -425,8 +425,8 @@ class InstallRequirements { $configIDSiniDir = NULL; global $cmsPath; + $siteDir = getSiteDir($cmsPath, $_SERVER['SCRIPT_FILENAME']); if ($installType == 'drupal') { - $siteDir = getSiteDir($cmsPath, $_SERVER['SCRIPT_FILENAME']); // make sure that we can write to sites/default and files/ $writableDirectories = array( @@ -964,7 +964,7 @@ class InstallRequirements { return TRUE; } else { - $testDetails[2] .= " (the following PHP variables are missing: " . implode(", ", $missing) . ")"; + $testDetails[2] = " (the following PHP variables are missing: " . implode(", ", $missing) . ")"; $this->error($testDetails); } } -- 2.25.1