]> _ Git - cubeextranet.git/commitdiff
wait #3440 @1.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 31 Mar 2020 08:21:03 +0000 (08:21 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 31 Mar 2020 08:21:03 +0000 (08:21 +0000)
inc/ws/Controlleur/class.ws.maintenance.php
inc/ws/Util/class.ws.exporter.php

index ec155f234e5ed931e455185911c4a67873daada3..adf00303bb4971fa1a38a367062e03e37430ed2f 100644 (file)
@@ -1726,6 +1726,16 @@ class wsMaintenance
             echo $r->rgpu . ' : <b>' . file_get_contents('https://workshop.fluidbook.com/services/gup?gup=' . base64_encode($r->rgpu)) . '</b><br>';
         }
     }
+
+    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, '');
+        }
+    }
 }
 
 
index 335eddfa755d2d21c4159043d3ceccf8cb1f4bc0..be29a55c2bf5ddda108bc246393c291946f9ecd3 100644 (file)
@@ -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 . '/');
+            }
                }
        }