Hide more open_basedir issues

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@43114 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
aoneil 2007-10-04 21:47:40 +00:00
parent 5d629013d0
commit e9ae0ff4b7

View File

@ -335,8 +335,8 @@ class InstallRequirements {
} elseif(isset($_ENV['TMP'])) { } elseif(isset($_ENV['TMP'])) {
$sysTmp = $_ENV['TMP']; $sysTmp = $_ENV['TMP'];
} else { } else {
$tmpFile = tempnam('adfadsfdas',''); @$tmpFile = tempnam('adfadsfdas','');
unlink($tmpFile); @unlink($tmpFile);
$sysTmp = dirname($tmpFile); $sysTmp = dirname($tmpFile);
} }