Moved the check if we have mysql-vhost config for this host AFTER the patch function

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@782 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Jan Kneschke 2005-10-06 08:14:58 +00:00
parent a77f7a90d8
commit c4fa6928b6
1 changed files with 2 additions and 2 deletions

View File

@ -328,10 +328,10 @@ CONNECTION_FUNC(mod_mysql_vhost_handle_docroot) {
/* no host specified? */
if (!con->uri.authority->used) return HANDLER_GO_ON;
if (!p->conf.mysql) return HANDLER_GO_ON;
mod_mysql_vhost_patch_connection(srv, con, p);
if (!p->conf.mysql) return HANDLER_GO_ON;
/* sets up connection data if not done yet */
c = mod_mysql_vhost_connection_data(srv, con, p_d);