Remove the old reference to install class and replaced with install_switch.
This commit is contained in:
parent
ec44f93afd
commit
7e18d6d122
|
|
@ -72,10 +72,8 @@ if (sizeof($_POST) > 0) {
|
||||||
//update scripts folder, if allowed (default)
|
//update scripts folder, if allowed (default)
|
||||||
if ($_SESSION['switch']['scripts']['dir'] != '') {
|
if ($_SESSION['switch']['scripts']['dir'] != '') {
|
||||||
//copy the files and directories from resources/install
|
//copy the files and directories from resources/install
|
||||||
$install = new install;
|
$obj = new install_switch;
|
||||||
$install->domain_uuid = $domain_uuid;
|
$obj->upgrade();
|
||||||
$install->switch_scripts_dir = $_SESSION['switch']['scripts']['dir'];
|
|
||||||
$install->copy_scripts();
|
|
||||||
//set the message
|
//set the message
|
||||||
$response_message = $text['message-upgrade_source_scripts'];
|
$response_message = $text['message-upgrade_source_scripts'];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue