Branch: Tag:

2013-11-26

2013-11-26 16:28:46 by Anders Johansson <anders@roxen.com>

Survive also with a broken Sitebuilder module.

306:    else    {    mixed tmp; - #if constant(Sitebuilder) + #if constant(Sitebuilder) && constant(Sitebuilder.sb_start_use_imagecache)    // Let SiteBuilder get a chance to decode its argument data    if (Sitebuilder.sb_start_use_imagecache) {    Sitebuilder.sb_start_use_imagecache(args, id);
410:    a->mtime = (string) (a->stat = st[ST_MTIME]);    a->filesize = (string) st[ST_SIZE];    - #if constant(Sitebuilder) + #if constant(Sitebuilder) && constant(Sitebuilder.sb_start_use_imagecache)    // The file we called try_stat_file() on above may be a SiteBuilder    // file. If so we need to extend the argument data with e.g.    // current language fork.