Minor improvements (#246)

* Minor improvements

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2023-09-17 15:57:45 +07:00 committed by GitHub
parent 56019e1f71
commit f7de89aa98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
**Merged pull requests:**
- Release v2.1.5-2023.09 🎉
- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246) ([belomaxorka](https://github.com/belomaxorka))
## [v2.1.5-2023.08-HotFix](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.08-HotFix) (2023-09-17)
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08...v2.1.5-2023.08-HotFix)

View File

@ -187,14 +187,14 @@ if ($search_imagick)
{
$path = 'c:/imagemagick/convert.exe';
if ( !@file_exists(@amod_realpath($path)))
if ( @file_exists(@amod_realpath($path)))
{
$imagick = $path;
}
}
}
if ( !@file_exists(@amod_realpath(trim($imagick))))
if ( @file_exists(@amod_realpath(trim($imagick))))
{
$new_attach['img_imagick'] = trim($imagick);
}
@ -716,4 +716,4 @@ if ($error)
$template->assign_vars(array('ERROR_MESSAGE' => $error_msg));
}
print_page('admin_attachments.tpl', 'admin');
print_page('admin_attachments.tpl', 'admin');