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:
parent
a77f7a90d8
commit
c4fa6928b6
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue