/[drupal]/drupal/modules/image/image.module
ViewVC logotype

Diff of /drupal/modules/image/image.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.24, Fri Oct 23 22:24:15 2009 UTC revision 1.25, Thu Nov 5 02:50:38 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: image.module,v 1.23 2009/10/20 00:55:29 dries Exp $  // $Id: image.module,v 1.24 2009/10/23 22:24:15 webchick Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 631  function image_style_generate() { Line 631  function image_style_generate() {
631      file_transfer($image->source, array('Content-Type' => $image->info['mime_type'], 'Content-Length' => $image->info['file_size']));      file_transfer($image->source, array('Content-Type' => $image->info['mime_type'], 'Content-Length' => $image->info['file_size']));
632    }    }
633    else {    else {
634      watchdog('image', 'Unable to generate the derived image located at %path.', $destination);      watchdog('image', 'Unable to generate the derived image located at %path.', array('%path' => $destination));
635      drupal_add_http_header('500 Internal Server Error');      drupal_add_http_header('500 Internal Server Error');
636      print t('Error generating image.');      print t('Error generating image.');
637      drupal_exit();      drupal_exit();

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.2