Changeset

1848:0033359aeb70

hostmanager: Only load vhosts, not components
author Matthew Wild <mwild1@gmail.com>
date Wed, 30 Sep 2009 11:01:21 +0100
parents 1846:fdb43fc1bafc
children 1849:5529d3c8eee7
files core/hostmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/hostmanager.lua	Tue Sep 29 19:54:31 2009 +0100
+++ b/core/hostmanager.lua	Wed Sep 30 11:01:21 2009 +0100
@@ -24,7 +24,7 @@
 	local defined_hosts = config or configmanager.getconfig();
 	
 	for host, host_config in pairs(defined_hosts) do
-		if host ~= "*" and (host_config.core.enabled == nil or host_config.core.enabled) then
+		if host ~= "*" and (host_config.core.enabled == nil or host_config.core.enabled) and not host_config.core.component_module then
 			activate(host, host_config);
 		end
 	end