From e9ae0ff4b74381ca346b1e51687836f1fa9188c9 Mon Sep 17 00:00:00 2001 From: aoneil Date: Thu, 4 Oct 2007 21:47:40 +0000 Subject: [PATCH] Hide more open_basedir issues git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@43114 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.php b/install.php index 16aeb0a..457e76b 100644 --- a/install.php +++ b/install.php @@ -335,8 +335,8 @@ class InstallRequirements { } elseif(isset($_ENV['TMP'])) { $sysTmp = $_ENV['TMP']; } else { - $tmpFile = tempnam('adfadsfdas',''); - unlink($tmpFile); + @$tmpFile = tempnam('adfadsfdas',''); + @unlink($tmpFile); $sysTmp = dirname($tmpFile); }