From d523c2049b8e2f9252bafdd81ac7b682cf67f6a8 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Wed, 2 May 2018 12:43:03 +0000 Subject: [PATCH] Temporary fix for ORPI redirection script (cURL missing from workshop server after PHP upgrade). WIP #2044 @1.5 --- inc/ws/Controlleur/class.ws.url.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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'); -- 2.39.5