BUGFIX: fixing env check code error

This commit is contained in:
Julian Seidenberg 2012-12-17 17:16:10 +13:00 committed by Ingo Schommer
parent b7ca70984d
commit ce94e7584a
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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 {