Corrected incorrect merge
This commit is contained in:
parent
e504c8b592
commit
5960b18e71
|
|
@ -34,10 +34,8 @@ if ($domains_processed == 1) {
|
|||
}
|
||||
|
||||
//copy the files and directories from resources/install
|
||||
$install = new install;
|
||||
$install->domain_uuid = $domain_uuid;
|
||||
$install->switch_scripts_dir = $_SESSION['switch']['scripts']['dir'];
|
||||
$install->copy_scripts();
|
||||
$obj = new install_switch;
|
||||
$obj->upgrade();
|
||||
}
|
||||
|
||||
//update the software table
|
||||
|
|
|
|||
|
|
@ -72,10 +72,8 @@ if (sizeof($_POST) > 0) {
|
|||
//update scripts folder, if allowed (default)
|
||||
if ($_SESSION['switch']['scripts']['dir'] != '') {
|
||||
//copy the files and directories from resources/install
|
||||
$install = new install;
|
||||
$install->domain_uuid = $domain_uuid;
|
||||
$install->switch_scripts_dir = $_SESSION['switch']['scripts']['dir'];
|
||||
$install->copy_scripts();
|
||||
$obj = new install_switch;
|
||||
$obj->upgrade();
|
||||
//set the message
|
||||
$response_message = $text['message-upgrade_source_scripts'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue