dgaudet 97/06/28 12:50:16
Modified: src Tag: APACHE_1_2_X mod_include.c Log: PR#742: mod_include was not properly changing directory Reviewed by: Dean, Brian Submitted by: Marc Revision Changes Path No revision No revision 1.33.2.2 +2 -0 apache/src/mod_include.c Index: mod_include.c =================================================================== RCS file: /export/home/cvs/apache/src/mod_include.c,v retrieving revision 1.33.2.1 retrieving revision 1.33.2.2 diff -C3 -r1.33.2.1 -r1.33.2.2 *** mod_include.c 1997/06/27 02:28:55 1.33.2.1 --- mod_include.c 1997/06/28 19:50:15 1.33.2.2 *************** *** 520,525 **** --- 520,526 ---- } destroy_sub_req (rr); + chdir_file(r->filename); return 0; } *************** *** 567,572 **** --- 568,574 ---- if (!error_fmt && run_sub_req (rr)) error_fmt = "unable to include %s in parsed file %s"; + chdir_file(r->filename); if (error_fmt) { log_printf(r->server, error_fmt, tag_val, r->filename);