mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR Re-use variable instead of check temp folder again
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@113964 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
014e2edded
commit
8c315023b2
@ -342,7 +342,7 @@ class InstallRequirements {
|
|||||||
$this->requireTempFolder(array('File permissions', 'Is a temporary directory available?', null, $tempFolder));
|
$this->requireTempFolder(array('File permissions', 'Is a temporary directory available?', null, $tempFolder));
|
||||||
if($tempFolder) {
|
if($tempFolder) {
|
||||||
// in addition to the temp folder being available, check it is writable
|
// in addition to the temp folder being available, check it is writable
|
||||||
$this->requireWriteable($tempFolder, array("File permissions", sprintf("Is the temporary directory writeable?", $this->getTempFolder()), null), true);
|
$this->requireWriteable($tempFolder, array("File permissions", sprintf("Is the temporary directory writeable?", $tempFolder), null), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->isRunningWebServer(array("Webserver Configuration", "Server software", "Unknown", $webserver));
|
$this->isRunningWebServer(array("Webserver Configuration", "Server software", "Unknown", $webserver));
|
||||||
|
Loading…
Reference in New Issue
Block a user