diff --git a/bin/dispatch-social.php b/bin/dispatch-social.php index 8d58804..674604c 100755 --- a/bin/dispatch-social.php +++ b/bin/dispatch-social.php @@ -213,7 +213,10 @@ foreach ($targets as $t) { $with_image = (int)$t['include_image'] === 1 && $t['image_path']; $image_path = $with_image ? ROOT . '/data/social-uploads/' . basename($t['image_path']) : null; - log_msg("post=$post_id target=$target_id platform=$platform key=$target_key" . ($image_path ? ' +image' : '')); + log_msg("post=$post_id target=$target_id platform=$platform key=$target_key" + . ($image_path ? ' +image' : '') + . " [include_image={$t['include_image']} db_path=" . ($t['image_path'] ?: 'NULL') . ']' + . ($image_path ? ' file_exists=' . (file_exists($image_path) ? 'yes' : 'NO') : '')); if (!isset($configs[$pid])) $configs[$pid] = read_config($base); $config = &$configs[$pid];