); /************* CONVERT *******************/ // this only needed if the external thumbnail create is used $paths = array( '/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__