MasonX-Maypole - Re: overriding factory templates

Posted on Sat Feb 19 03:16:19 2005 by mreece in response to 132 (See the whole thread of 4)
Re: overriding factory templates
changing line 263 (or near there, i've added and removed so many debugging statements that my line numbers may be slightly off) from

$m->prefix_comp_root( "table=>$table_comp_root" ) if -d $table_comp_root;

to

$m->prefix_comp_root( $self->table . "=>$table_comp_root" ) if -d $table_comp_root;

seems to fix this. now compiled components get written to and retrieved from {data_dir}/obj/{table_name}/ instead of "obj/table/"
Direct Responses: 136 | 137 | Write a response