Stop using DS for DIRECTORY_SEPARATOR replacement
There is no need for a short entry, use the long one. The DS is still defined for backwards compatible use
This commit is contained in:
@@ -21,9 +21,9 @@ $paths = [
|
||||
];
|
||||
// find convert
|
||||
foreach ($paths as $path) {
|
||||
if (file_exists($path . DS . 'convert') && is_file($path . DS . 'convert')) {
|
||||
if (file_exists($path . DIRECTORY_SEPARATOR . 'convert') && is_file($path . DIRECTORY_SEPARATOR . 'convert')) {
|
||||
// image magick convert location
|
||||
define('CONVERT', $path . DS . 'convert');
|
||||
define('CONVERT', $path . DIRECTORY_SEPARATOR . 'convert');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user