Jelajahi Sumber

Limit the file copy used on the upgrade

Mark Crane 11 tahun lalu
induk
melakukan
c34ddd6d1b
1 mengubah file dengan 4 tambahan dan 3 penghapusan
  1. 4 3
      core/upgrade/upgrade_domains.php

+ 4 - 3
core/upgrade/upgrade_domains.php

@@ -52,10 +52,11 @@
 	$install = new install;
 	$install = new install;
 	$install->domain_uuid = $domain_uuid;
 	$install->domain_uuid = $domain_uuid;
 	$install->domain_name = $domain;
 	$install->domain_name = $domain;
-	$install->switch_conf_dir = $_SESSION['switch']['conf']['dir'];
+	//$install->switch_conf_dir = $_SESSION['switch']['conf']['dir'];
 	$install->switch_scripts_dir = $_SESSION['switch']['scripts']['dir'];
 	$install->switch_scripts_dir = $_SESSION['switch']['scripts']['dir'];
-	$install->switch_sounds_dir = $_SESSION['switch']['sounds']['dir'];
-	$install->copy();
+	//$install->switch_sounds_dir = $_SESSION['switch']['sounds']['dir'];
+	$install->copy_scripts();
+	//$install->copy_sounds();
 	//print_r($install->result);
 	//print_r($install->result);
 
 
 //get the list of installed apps from the core and mod directories
 //get the list of installed apps from the core and mod directories