From: stephen@cubedesigners.com Date: Wed, 2 May 2018 12:43:03 +0000 (+0000) Subject: Temporary fix for ORPI redirection script (cURL missing from workshop server after... X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d523c2049b8e2f9252bafdd81ac7b682cf67f6a8;p=cubeextranet.git Temporary fix for ORPI redirection script (cURL missing from workshop server after PHP upgrade). WIP #2044 @1.5 --- diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 2d50158b7..8dbef6cec 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -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');