[interchange-bugs] [rt.icdevgroup.org #311] Shipping file error caused by recent TemplateDir changes

Stefan Hornburg via RT interchange at rt.icdevgroup.org
Fri Sep 4 17:35:50 UTC 2009


<URL: http://rt.icdevgroup.org/Ticket/Display.html?id=311 >

Shipping files are usually local to the catalog, so it would be meaningful to always use a relative path for them. readfile() is
fine with reading local files.

The problem is that Ship.pm use $base_dir in calls to readfile(),
which defaults to $Config->{ProductDir} which in turn defaults
to CATROOT/products.

So setting $Config->{ProductDir} to products (relative) could fix
the problem.

Regards
         Racke




More information about the interchange-bugs mailing list