diff --git a/code/checks/FileWriteableCheck.php b/code/checks/FileWriteableCheck.php index 3d3ae98..366db02 100644 --- a/code/checks/FileWriteableCheck.php +++ b/code/checks/FileWriteableCheck.php @@ -47,7 +47,7 @@ class FileWriteableCheck implements EnvironmentCheck { } } else { - $message .= "The webserver user needs to be able to write to this file:\n$filename"; + $message = "The webserver user needs to be able to write to this file:\n$filename"; } return array(EnvironmentCheck::ERROR, $message); diff --git a/code/checks/URLCheck.php b/code/checks/URLCheck.php index 6db586b..be6767b 100644 --- a/code/checks/URLCheck.php +++ b/code/checks/URLCheck.php @@ -29,7 +29,7 @@ class URLCheck implements EnvironmentCheck { } else if($this->testString && (strpos($response->getBody(), $this->testString) === false)) { return array( EnvironmentCheck::WARNING, - sprintf('Success retrieving "%s", but string "%s" not found', $this->url, $testString) + sprintf('Success retrieving "%s", but string "%s" not found', $this->url, $this->testString) ); } else {