mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
113738fce9
4 changed files with 5 additions and 5 deletions
|
@ -160,7 +160,7 @@
|
||||||
<li>zlib Compression support</li>
|
<li>zlib Compression support</li>
|
||||||
<li>Remote FTP support</li>
|
<li>Remote FTP support</li>
|
||||||
<li>XML support</li>
|
<li>XML support</li>
|
||||||
<li>Imagemagick support</li>
|
<li>ImageMagick support</li>
|
||||||
<li>GD Support</li>
|
<li>GD Support</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -544,7 +544,7 @@ function create_thumbnail($source, $destination, $mimetype)
|
||||||
|
|
||||||
$used_imagick = false;
|
$used_imagick = false;
|
||||||
|
|
||||||
// Only use imagemagick if defined and the passthru function not disabled
|
// Only use ImageMagick if defined and the passthru function not disabled
|
||||||
if ($config['img_imagick'] && function_exists('passthru'))
|
if ($config['img_imagick'] && function_exists('passthru'))
|
||||||
{
|
{
|
||||||
if (substr($config['img_imagick'], -1) !== '/')
|
if (substr($config['img_imagick'], -1) !== '/')
|
||||||
|
|
|
@ -111,7 +111,7 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'IMAGE_LINK_SIZE' => 'Image link dimensions',
|
'IMAGE_LINK_SIZE' => 'Image link dimensions',
|
||||||
'IMAGE_LINK_SIZE_EXPLAIN' => 'Display image attachment as an inline text link if image is larger than this. To disable this behaviour, set the values to 0px by 0px.',
|
'IMAGE_LINK_SIZE_EXPLAIN' => 'Display image attachment as an inline text link if image is larger than this. To disable this behaviour, set the values to 0px by 0px.',
|
||||||
'IMAGICK_PATH' => 'Imagemagick path',
|
'IMAGICK_PATH' => 'ImageMagick path',
|
||||||
'IMAGICK_PATH_EXPLAIN' => 'Full path to the imagemagick convert application, e.g. <samp>/usr/bin/</samp>.',
|
'IMAGICK_PATH_EXPLAIN' => 'Full path to the imagemagick convert application, e.g. <samp>/usr/bin/</samp>.',
|
||||||
|
|
||||||
'MAX_ATTACHMENTS' => 'Maximum number of attachments per post',
|
'MAX_ATTACHMENTS' => 'Maximum number of attachments per post',
|
||||||
|
@ -147,7 +147,7 @@ $lang = array_merge($lang, array(
|
||||||
'REMOVE_DISALLOWED_IPS' => 'Remove or un-exclude <em>disallowed</em> IPs/hostnames',
|
'REMOVE_DISALLOWED_IPS' => 'Remove or un-exclude <em>disallowed</em> IPs/hostnames',
|
||||||
'RESYNC_FILES_STATS_CONFIRM' => 'Are you sure you wish to resynchronise file statistics?',
|
'RESYNC_FILES_STATS_CONFIRM' => 'Are you sure you wish to resynchronise file statistics?',
|
||||||
|
|
||||||
'SEARCH_IMAGICK' => 'Search for Imagemagick',
|
'SEARCH_IMAGICK' => 'Search for ImageMagick',
|
||||||
'SECURE_ALLOW_DENY' => 'Allow/Deny list',
|
'SECURE_ALLOW_DENY' => 'Allow/Deny list',
|
||||||
'SECURE_ALLOW_DENY_EXPLAIN' => 'Change the default behaviour when secure downloads are enabled of the Allow/Deny list to that of a <strong>whitelist</strong> (Allow) or a <strong>blacklist</strong> (Deny).',
|
'SECURE_ALLOW_DENY_EXPLAIN' => 'Change the default behaviour when secure downloads are enabled of the Allow/Deny list to that of a <strong>whitelist</strong> (Allow) or a <strong>blacklist</strong> (Deny).',
|
||||||
'SECURE_DOWNLOADS' => 'Enable secure downloads',
|
'SECURE_DOWNLOADS' => 'Enable secure downloads',
|
||||||
|
|
|
@ -37,7 +37,7 @@ class obtain_imagick_path extends \phpbb\install\task_base implements \phpbb\ins
|
||||||
*/
|
*/
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
// Can we find Imagemagick anywhere on the system?
|
// Can we find ImageMagick anywhere on the system?
|
||||||
$exe = (DIRECTORY_SEPARATOR == '\\') ? '.exe' : '';
|
$exe = (DIRECTORY_SEPARATOR == '\\') ? '.exe' : '';
|
||||||
|
|
||||||
$magic_home = getenv('MAGICK_HOME');
|
$magic_home = getenv('MAGICK_HOME');
|
||||||
|
|
Loading…
Add table
Reference in a new issue