emile Fri Mar 30 00:15:05 2001 EDT Modified files: /php4/ext/midgard preparser.c Log: Don't restat the connection, trust mod_midgard Index: php4/ext/midgard/preparser.c diff -u php4/ext/midgard/preparser.c:1.7 php4/ext/midgard/preparser.c:1.8 --- php4/ext/midgard/preparser.c:1.7 Tue Feb 27 17:00:32 2001 +++ php4/ext/midgard/preparser.c Fri Mar 30 00:15:05 2001 @@ -1,4 +1,4 @@ -/* $Id: preparser.c,v 1.7 2001/02/28 01:00:32 davidg Exp $ +/* $Id: preparser.c,v 1.8 2001/03/30 08:15:05 emile Exp $ Copyright (C) 1999 Jukka Zitting <[EMAIL PROTECTED]> Copyright (C) 2000 The Midgard Project ry Copyright (C) 2000 Emile Heyns, Aurora SA <[EMAIL PROTECTED]> @@ -296,7 +296,7 @@ /* EEH: if the page database has been defined you will want to include snippets from there too. */ if (rcfg->database.page && rcfg->database.page->handle && rcfg->database.page->handle->mgd) { - mgd_select_database(php_rqst, rcfg->database.page, rcfg); + mgd_select_database(php_rqst, rcfg->database.page, rcfg, FALSE); db = rcfg->database.page->name; MGD_LOG_START("Midgard: fetching snippet '%s' from database %s") MGD_LOG_ARG((*file)->value.str.val) @@ -338,7 +338,7 @@ MGD_LOG_ARG(name) MGD_LOG_ARG(db) MGD_LOG_END() - mgd_select_database(php_rqst, rcfg->database.main, rcfg); + mgd_select_database(php_rqst, rcfg->database.main, rcfg, FALSE); } RETVAL_STRING(part,1); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]