Revert "Merge pull request #326 from Churro/froxlorMerge_vhostTemplates"
This reverts commit319668d384, reversing changes made toaa592c7369. Conflicts: install/froxlor.sql install/updates/froxlor/0.9/update_0.9.inc.php lib/version.inc.php
This commit is contained in:
@@ -1017,8 +1017,7 @@ if ($page == 'domains'
|
||||
|
||||
// vhost configs
|
||||
$vhostconfigs = '';
|
||||
$configsvhost = Database::prepare("SELECT * FROM `" . TABLE_PANEL_VHOSTCONFIGS . "` WHERE `webserver` = :webserver ORDER BY description ASC");
|
||||
Database::pexecute($configsvhost, array('webserver' => Settings::Get('system.webserver')));
|
||||
$configsvhost = Database::query("SELECT * FROM `" . TABLE_PANEL_VHOSTCONFIGS . "` ORDER BY description ASC");
|
||||
|
||||
$vhostconfigs.= makeoption($lng['admin']['vhostsettings']['novhostsettings'], 0);
|
||||
while ($row = $configsvhost->fetch(PDO::FETCH_ASSOC)) {
|
||||
@@ -2011,9 +2010,7 @@ if ($page == 'domains'
|
||||
|
||||
// vhost configs
|
||||
$vhostconfigs = '';
|
||||
$vhostconfigs_result_stmt = Database::prepare("SELECT * FROM `" . TABLE_PANEL_VHOSTCONFIGS . "` WHERE `webserver` = :webserver ORDER BY description ASC");
|
||||
Database::pexecute($vhostconfigs_result_stmt, array('webserver' => Settings::Get('system.webserver')));
|
||||
|
||||
$vhostconfigs_result_stmt = Database::query("SELECT * FROM `" . TABLE_PANEL_VHOSTCONFIGS . "` ORDER BY description ASC");
|
||||
$vhostconfigs .= makeoption($lng['admin']['vhostsettings']['novhostsettings'], 0);
|
||||
while ($vhostconfig_row = $vhostconfigs_result_stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||
$vhostconfigs .= makeoption($vhostconfig_row['description'], $vhostconfig_row['id'], $result['vhostsettingid'], true, true);
|
||||
|
||||
Reference in New Issue
Block a user