file_get_contents not working in CPM
Content
I have created a opportunity_update CPM, on that based on some condition I'm calling the controller function on CP
using the below method
$parms = "/opp_id/".$obj->ID."/key/".$value;
file_get_contents(""https://mysite.custhelp.com/cc/ajaxCustom/doSomething".$parms);
But I'm getting error message "Access to the file_get_contents is denied because it's trying to access restricted folder"
I can't use cURL because the CPM is not asynchronous as I need to fetch $obj->prev as part of business logic.
Attached the error screenshot
Version
20A
Tagged:
0