file_get_contents not working in CPM
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
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