Forgot that we have http:// in documentroots

This commit is contained in:
Florian Aders (EleRas)
2010-05-12 13:08:06 +00:00
parent b64bfaeb92
commit aa45bf5f70
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version)
if(versionInUpdate($current_version, '0.9.7-svn2'))
{
$has_preconfig = false;
$result = $db->query("SELECT `domain` FROM " . TABLE_PANEL_DOMAINS . " WHERE `documentroot` LIKE '%:%' AND `openbasedir_path` = '0' AND `openbasedir` = '1'");
$result = $db->query("SELECT `domain` FROM " . TABLE_PANEL_DOMAINS . " WHERE `documentroot` LIKE '%:%' AND `documentroot` NOT LIKE 'http://%' AND `openbasedir_path` = '0' AND `openbasedir` = '1'");
$wrongOpenBasedirDomain = array();
while($row = $db->fetch_array($result))
{