]> _ Git - cubeextranet.git/commitdiff
Temporary fix for ORPI redirection script (cURL missing from workshop server after...
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 2 May 2018 12:43:03 +0000 (12:43 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 2 May 2018 12:43:03 +0000 (12:43 +0000)
inc/ws/Controlleur/class.ws.url.php

index 2d50158b73d1546ca336ccec5242cbd6fa109bb3..8dbef6cec9731ed2499508ad7e212dabcbbc438f 100644 (file)
@@ -2108,6 +2108,14 @@ html{height:100%}' . "\n";
        public static function orpiref($args) {
                $ref = $args[1];
 
+               #######
+        # TEMPORARY: this was broken because the cURL extension is not loaded for PHP
+        # The code in this function has been extracted and moved to hosting.fluidbook.com/orpiref/?ref=xxxxx
+        header('Location: https://hosting.fluidbook.com/orpiref/?ref='. $ref);
+               exit;
+               #######
+
+
                try {
                        $client = new Zend_Http_Client();
                        $client->setAdapter('Zend_Http_Client_Adapter_Curl');