Roxen.git / server / modules / graphics / graphic_text.pike

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:984:    foreach(filearg, string tmp)    if(string path = arg[tmp])    {    // Reject empty file paths for sufficiently high compat_level    if (path == "" && compat_level >= "5.2")    RXML.parse_error("Empty " + tmp + " attribute not allowed.");       if (!has_prefix(tmp, "magic-")) {    p[tmp] = Roxen.fix_relative(path, id);    p[tmp + "_stat"] = get_file_stat(path, id); - #if constant(Sitebuilder) + #if constant(Sitebuilder) && constant(Sitebuilder.sb_start_use_imagecache)    // The file we called get_file_stat() on above may be a SiteBuilder    // file. If so we need to extend the argument data with e.g.    // current language fork.    if (Sitebuilder.sb_prepare_imagecache)    p = Sitebuilder.sb_prepare_imagecache(p, path, id);   #endif    m_delete(arg, tmp);    } else {    // The magic-* attributes will be removed later.    arg[tmp]=Roxen.fix_relative(arg[tmp],id);