From 94c7197a844bc714f487bcdc4f61c3f87a8a591d Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 31 Mar 2020 08:21:03 +0000 Subject: [PATCH] wait #3440 @1.5 --- inc/ws/Controlleur/class.ws.maintenance.php | 10 ++++++++++ inc/ws/Util/class.ws.exporter.php | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/inc/ws/Controlleur/class.ws.maintenance.php b/inc/ws/Controlleur/class.ws.maintenance.php index ec155f234..adf00303b 100644 --- a/inc/ws/Controlleur/class.ws.maintenance.php +++ b/inc/ws/Controlleur/class.ws.maintenance.php @@ -1726,6 +1726,16 @@ class wsMaintenance echo $r->rgpu . ' : ' . file_get_contents('https://workshop.fluidbook.com/services/gup?gup=' . base64_encode($r->rgpu)) . '
'; } } + + public static function airtahiti() + { + CubeIT_Util_PHP::neverStop(); + $ids = [922, 2153, 2202, 2204, 2228, 2229, 2230, 2231, 2241, 2309, 2310, 2311, 2312, 2321, 2470, 2810, 3115, 3422, 3735, 10002, 10109, 10195, 10205, 10339, 10349, 10585, 10604, 10757, 10772, 10914, 10921, 11102, 11126, 11378, 11417, 11665, 11698, 11926, 11946, 12210, 12257, 12459, 12541, 12691, 12713, 12916, 12938, 13169, 13191, 13447, 13497, 13698, 13707, 13928, 13939, 14194, 14432, 14686, 14892, 15117, 15418, 15670, 15879, 16134, 16473, 16752, 17067, 17334, 17561, 17829, 18125, 18373]; + foreach ($ids as $id) { + $exporter = new wsExporter(); + $exporter->export($id, $x, 'install_hosting', 'online', "/airtahitiexport/" . $id, ''); + } + } } diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index 335eddfa7..be29a55c2 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -394,7 +394,9 @@ class wsExporter if (!is_null($rootURL)) { $url = $rootURL . $this->destinationDir; - $this->x->addTruePopup($url . '/'); + if($this->x) { + $this->x->addTruePopup($url . '/'); + } } } -- 2.39.5