diff options
Diffstat (limited to 'phpBB/install/install.php')
-rw-r--r-- | phpBB/install/install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php index 97a94f942b..b4502fcbc0 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -413,7 +413,7 @@ if ($stage == 0) foreach ($locations as $location) { - if (file_exists($location . 'convert' . $exe) && is_readable($location . 'convert' . $exe)) + if (@file_exists($location . 'convert' . $exe) && @is_readable($location . 'convert' . $exe)) { $img_imagick = str_replace('\\', '/', $location); continue; @@ -445,7 +445,7 @@ if ($stage == 0) <table cellspacing="1" cellpadding="4" border="0"> <?php - $directories = array('cache/', 'cache/templates/', 'cache/themes/', 'cache/tmp/', 'files/'); + $directories = array('cache/', 'files/'); umask(0); |