1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 13:44:12 +02:00

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
This commit is contained in:
Paul S. Owen
2003-07-17 15:16:25 +00:00
parent 947c81b3db
commit bf70fee152
3 changed files with 17 additions and 21 deletions

View File

@@ -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);