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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user