Don't revert preconfig if no domain is found for open_basedir - update
This commit is contained in:
@@ -127,7 +127,6 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version)
|
|||||||
|
|
||||||
if(versionInUpdate($current_version, '0.9.7-svn2'))
|
if(versionInUpdate($current_version, '0.9.7-svn2'))
|
||||||
{
|
{
|
||||||
$has_preconfig = false;
|
|
||||||
$result = $db->query("SELECT `domain` FROM " . TABLE_PANEL_DOMAINS . " WHERE `documentroot` LIKE '%:%' AND `documentroot` NOT LIKE 'http://%' 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();
|
$wrongOpenBasedirDomain = array();
|
||||||
while($row = $db->fetch_array($result))
|
while($row = $db->fetch_array($result))
|
||||||
|
|||||||
Reference in New Issue
Block a user