Example #1
0
 $objprocess['process'] = $path . $scriptmulticast;
 $objprocess['process'] = $scriptmulticast;
 if (!isset($_SESSION['PARAMMULTICAST'])) {
     $objprocess['process'] = $scriptmulticast;
     $objprocess['process'] = $scriptmulticast;
     xmlrpc_stop_process_multicast($objprocess);
     $objprocess['process'] = $path . $scriptmulticast;
     xmlrpc_clear_script_multicast($objprocess);
 } else {
     $tailleimagedisk = array();
     $objprocess['gid'] = $_SESSION['PARAMMULTICAST']['gid'];
     $objprocess['uuidmaster'] = $_SESSION['PARAMMULTICAST']['uuidmaster'];
     $objprocess['itemlabel'] = $_SESSION['PARAMMULTICAST']['itemlabel'];
     $objprocess['path'] = $path;
     $objprocess['scriptmulticast'] = $scriptmulticast;
     $resultdisplay = get_object_vars(json_decode(xmlrpc_check_process_multicast_finish($objprocess)));
     $arraytaille = get_object_vars($resultdisplay['sizeuser']);
     foreach ($resultdisplay['partitionlist'] as $dd) {
         $tailleimagedisk[] = $arraytaille[$dd];
     }
     $informationdisk = $resultdisplay['informations'];
     foreach ($resultdisplay['partitionlist'] as $partition) {
         foreach ($informationdisk as $valeur) {
             $pos = strpos($valeur, $partition);
             if ($pos !== False && $pos == 0) {
                 $resultdisplay1[$partition] = explode(" ", $valeur);
             }
         }
     }
 }
 $objprocess['process'] = $path . $scriptmulticast;
 * MMC is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * MMC is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with MMC.  If not, see <http://www.gnu.org/licenses/>.
 */
require "../../../includes/config.inc.php";
require "../../../includes/i18n.inc.php";
require "../../../includes/acl.inc.php";
require "../../../includes/session.inc.php";
require "../../../includes/PageGenerator.php";
require "../includes/includes.php";
require '../includes/xmlrpc.inc.php';
require "../../base/includes/edit.inc.php";
require_once "../../pulse2/includes/locations_xmlrpc.inc.php";
extract($_GET);
$objprocess = array();
$objprocess['location'] = $location;
$objprocess['process'] = $path . $scriptmulticast;
$objprocess['uuidmaster'] = $uuidmaster;
$objprocess['itemlabel'] = $itemlabel;
$objprocess['gid'] = $gid;
$a = xmlrpc_check_process_multicast_finish($objprocess);
echo $a;