aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_attachments.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index e2ee126479..08b5f863e0 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -187,13 +187,13 @@ class acp_attachments
if ($this->new_config['img_imagick'])
{
// Change path separator
- $this->new_config['img_magick'] = str_replace('\\', '/', $this->new_config['img_magick']);
+ $this->new_config['img_imagick'] = str_replace('\\', '/', $this->new_config['img_imagick']);
$this->new_config['img_imagick'] = str_replace(array('convert', '.exe'), array('', ''), $this->new_config['img_imagick']);
// Check for trailing slash
- if (substr($this->new_config['img_magick'], -1) !== '/')
+ if (substr($this->new_config['img_imagick'], -1) !== '/')
{
- $this->new_config['img_magick'] .= '/';
+ $this->new_config['img_imagick'] .= '/';
}
}