Branch: Tag:

2000-09-19

2000-09-19 14:47:05 by Per Hedbor <ph@opera.com>

Fixed data _again_

Rev: server/modules/graphics/cimg.pike:1.30

7:      roxen.ImageCache the_cache;    - constant cvs_version = "$Id: cimg.pike,v 1.29 2000/09/10 16:37:48 nilsson Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.30 2000/09/19 14:47:05 per Exp $";   constant module_type = MODULE_TAG;   constant module_name = "Image converter";   constant module_doc = "Provides the tag <tt>&lt;cimg&gt;</tt> that can be used "
144:   {    mapping a=    ([ -  "src":Roxen.fix_relative( args->src, id ), +     "quant":args->quant,    "crop":args->crop,    "format":args->format,
156:    "data":args->data,    ]);    -  if( a->src ) +  if( args->src )    catch    { -  +  a->src = Roxen.fix_relative( args->src, id );    Stat st = id->conf->stat_file(a->src, id) || file_stat(a->src);    if (st) {    a->mtime = (string) (a->stat = st[ST_MTIME]);