); /************* CONVERT *******************/ // this only needed if the external thumbnail create is used $paths = [ '/bin', '/usr/bin', '/usr/local/bin' ]; // find convert foreach ($paths as $path) { if (file_exists($path.DS.'convert') && is_file($path.DS.'convert')) { // image magick convert location define('CONVERT', $path.DS.'convert'); } } unset($paths); // __END__