aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-07-17 15:16:25 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-07-17 15:16:25 +0000
commitbf70fee1520d6a5302b8533d83a09f0b5b5a4ce2 (patch)
tree6e07c3cd0402a7bedd88ad50949398f17de9fb22 /phpBB/install
parent947c81b3db857518a89b9120c6c0ec460e8eeb1b (diff)
downloadforums-bf70fee1520d6a5302b8533d83a09f0b5b5a4ce2.tar
forums-bf70fee1520d6a5302b8533d83a09f0b5b5a4ce2.tar.gz
forums-bf70fee1520d6a5302b8533d83a09f0b5b5a4ce2.tar.bz2
forums-bf70fee1520d6a5302b8533d83a09f0b5b5a4ce2.tar.xz
forums-bf70fee1520d6a5302b8533d83a09f0b5b5a4ce2.zip
Remove subfolder storage of templates ... a safe-mode thang, you can delete any existing cache/templates folder
git-svn-id: file:///svn/phpbb/trunk@4273 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/install.php4
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);