]> _ Git - cubeextranet.git/commitdiff
wait #3929 @1.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 2 Oct 2020 13:02:13 +0000 (13:02 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 2 Oct 2020 13:02:13 +0000 (13:02 +0000)
inc/ws/Controlleur/class.ws.maintenance.php

index bb2faf439c06c17f84ee1e9cc988ac4e3aaef92f..87c4d4d49b65e84fcbc2ea8f15afb3fdd3486672 100644 (file)
@@ -1108,6 +1108,17 @@ class wsMaintenance
         exit;
     }
 
+    public static function installMopec()
+    {
+        CubeIT_Util_PHP::neverStop();
+        $langs = ['es' => 18940, 'en' => 19049, 'it' => 19050, 'fr' => 19051];
+        foreach ($langs as $lang => $fbid) {
+            $exporter = new wsExporter();
+            $exporter->export($fbid, $x, 'install_ftp', 'online', "mopec2:zKHNa75pz0QCpG5y@185.206.62.83/fluidbook/" . $lang, '');
+        }
+        exit;
+    }
+
     public static function fixStats($args)
     {
 //        commonDroits::min(5);